<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0076)http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Windows XP SP2 Firewall Controller - CodeProject</title> 
	<link type="text/css" rel="stylesheet" href="./Windows XP SP2 Firewall Controller - CodeProject_files/CodeProject.min.css">

	
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 


<meta name="Description" content="How to control a base firewall included in Windows XP SP2 using COM.; Author: moah; Updated: 10 Jul 2006; Section: Win32/64 SDK &amp; OS; Chapter: Platforms, Frameworks &amp; Libraries; Updated: 10 Jul 2006">
<meta name="Keywords" content="VC7.1, WinXP, VS.NET2003, C#, .NET, Dev, COM, Intermediate,Win32/64 SDK &amp; OS,Platforms, Frameworks &amp; Libraries,Free source code, tutorials">
<meta name="Author" content="moah">
<meta name="Rating" content="General">
<meta name="Robots" content="index, follow, NOODP">
<meta name="Revisit-After" content="1 days">
<meta name="application-name" content="The Code Project">

<meta name="msapplication-navbutton-color" content="#FF9900">
<meta name="msapplication-tooltip" content="Your Development Resource.">
<meta name="msapplication-starturl" content="http://www.codeproject.com/?pinned=true">
<meta name="msapplication-task" content="name=Homepage;action-uri=http://www.codeproject.com/;icon-uri=http://www.codeproject.com/favico.ico">
<meta name="msapplication-task" content="name=Latest Articles;action-uri=http://www.codeproject.com/script/articles/Latest.aspx;icon-uri=http://www.codeproject.com/favico.ico">
<meta name="msapplication-task" content="name=Questions and Answers;action-uri=http://www.codeproject.com/script/Answers/;icon-uri=http://www.codeproject.com/favico.ico">
<meta name="msapplication-task" content="name=The Lounge;action-uri=http://www.codeproject.com/Lounge.aspx;icon-uri=http://www.codeproject.com/favico.ico">

<link rel="dns-prefetch" href="http://ajax.googleapis.com/"> 
<link rel="canonical" href="./Windows XP SP2 Firewall Controller - CodeProject_files/Windows XP SP2 Firewall Controller - CodeProject.htm">


<link rel="alternate" type="application/rss+xml" title="CodeProject Latest articles - All Topics" href="http://www.codeproject.com/WebServices/ArticleRSS.aspx?cat=1">
<link rel="alternate" type="application/rss+xml" title="CodeProject Latest articles - MFC/C++" href="http://www.codeproject.com/WebServices/ArticleRSS.aspx?cat=2">
<link rel="alternate" type="application/rss+xml" title="CodeProject Latest articles - C#" href="http://www.codeproject.com/WebServices/ArticleRSS.aspx?cat=3">
<link rel="alternate" type="application/rss+xml" title="CodeProject Latest articles - VB.NET" href="http://www.codeproject.com/WebServices/ArticleRSS.aspx?cat=6">
<link rel="alternate" type="application/rss+xml" title="CodeProject Latest articles - Mobile" href="http://www.codeproject.com/WebServices/ArticleRSS.aspx?cat=18">
<link rel="alternate" type="application/rss+xml" title="CodeProject Latest articles - ASP.NET" href="http://www.codeproject.com/WebServices/ArticleRSS.aspx?cat=4">
<link rel="alternate" type="application/rss+xml" title="CodeProject Lounge Postings" href="http://www.codeproject.com/webservices/LoungeRSS.aspx">
<link rel="search" type="application/opensearchdescription+xml" title="CodeProject" href="http://www.codeproject.com/info/OpenSearch.xml">

	<!--<base target="_top">--><base href="." target="_top">
	<link rel="icon" href="http://www.codeproject.com/favicon.ico" type="image/ico">
<link rel="shortcut icon" href="http://www.codeproject.com/favicon.ico" type="image/ico">
<link rel="apple-touch-icon" href="http://www.codeproject.com/images/FavIcon-Apple.png" type="image/png">
<script async="" src="./Windows XP SP2 Firewall Controller - CodeProject_files/beacon.js"></script><script type="text/javascript" language="Javascript">//<![CDATA[
if(top!=self && !/https?:\/\/([a-zA-Z]+\.)?facebook.com\//gi.test(top.location.href))top.location.href=location.href; if(typeof(DemoUrl)!='undefined')document.write(unescape('%3Cme')+'ta http'+'-equiv="re'+'fresh" con'+'tent="1;url='+DemoUrl+unescape('"%3CE'));
function SelfCheck(){ return window.confirm("You are about to reply to your own message. Is this really what you want?");}
function FireNew(elm) { window.location=$(elm).find('a')[0].href;}

function MsgVFrm(MemberID,MsgID,GB,gp,bp,mt){
 if(!GB)document.write("Rate this message: ");
 document.write(unescape("%3Ca href=\"#xx" + MsgID.toString() + "xx\" onclick=\"RateMsg(" + MemberID.toString() + ", " + MsgID.toString() + ","));document.write((GB?"5":"1")+unescape(",0);\"%3E"));
 if(GB) document.write(unescape("%3Cimg height=\"20\" width=\"20\" src=\"/script/Forums/Images/good.png\" alt=\"good\" border=\"0\" align=\"absmiddle\" /%3E "+gp+" "+mt+"%3C/a%3E "));
 else document.write(unescape("%3Cimg height=\"14px\" width=\"14px\" src=\"http://s.codeproject.com/script/Forums/Images/thumbs_down.gif\" alt=\"vote 1\" border=\"0\" align=\"middle\" /%3E%3C/a%3E "));
 if(GB)document.write(" &nbsp;"); else for(var i=1; i<=5;i++)
  document.write(unescape("%3Ca class=\"toolbar nav-link\" href=\"#xx" + MsgID.toString() + "xx\" title=\"vote this message a " + i.toString() + "\" onclick=\"RateMsg(" + MemberID.toString() + ", " + MsgID.toString() + ", " + i.toString() + ",0)\"%3E%3Cb%3E" + i.toString() + "%3C/b%3E%3C/a%3E "));
 document.write(unescape("%3Ca href=\"#xx" + MsgID.toString() + "xx\" onclick=\"RateMsg(" + MemberID.toString() + ", " + MsgID.toString() + ","));document.write((GB?"1":"5")+unescape(",0);\"%3E"));
 if(GB)document.write(unescape("%3Cimg height=\"20\" width=\"20\" src=\"/script/Forums/Images/bad.png\" alt=\"bad\" border=\"0\" align=\"absmiddle\" /%3E "+bp+" "+mt+"%3C/a%3E"));
 else document.write(unescape("%3Cimg height=\"14px\" width=\"14px\" src=\"http://s.codeproject.com/script/Forums/Images/thumbs_up.gif\" border=\"0\" alt=\"vote 5\" align=\"middle\" /%3E%3C/a%3E "));
}

function ReportMsg(userid, msgid, score) {
 if (confirm("Are you sure you want this message removed?"))
  return RateMsg(userid, msgid, score, 0);
 else return false;
}
function RateMsg(memberid, msgid, score, questionId) {
 var req = new XMLHttpRequest();
 req.onreadystatechange = function() {
  if (req.readyState == 4){
   if (req.status == 200){
    var respText = req.responseText;
    var re = new RegExp(unescape("\%3Cdiv\%3E(.*)\%3C/div\%3E"), "g");
    var match = re.exec(respText);
    voteStatus.innerHTML = unescape("%3Cb%3E") + (match&&match.length>1&&match[1])?match[1]:"An error occurred" + unescape("%3C/b%3E");
   } else
    voteStatus.innerHTML = unescape("%3Cb style='color:red'%3EFailed!") + req.statusText + unescape("%3C/b%3E");
  }
 }
 var voteStatus = document.getElementById("MVF" + msgid);
 if (!voteStatus) return;
 voteStatus.innerHTML = unescape("%3Cb style='color:green'%3EVoting...%3C/b%3E");
 var strAction = "/script/Forums/Vote.aspx?js=1&fmid="+memberid.toString()+"&select="+msgid.toString()+"&score="+score.toString()+"&qid="+questionId.toString();
 req.open("GET", strAction, true);
 req.send(null);
  return false;
}
var smoothScroll = true;
var Selected = "-1";
var oldTitle = document.title;
function Pin(elm){
 CloseMsg(Selected);
 Selected=''
 var wrk=elm.parentNode; if(wrk)wrk=wrk.children[0];
 var fc=elm?elm.firstChild:null;
 if (wrk&&!wrk.pinned) {
  OpenMsg(wrk.name, true);wrk.pinned=true;fc.src='http://s.codeproject.com/script/forums/images/pinned.gif';fc.title='Pinned. Click to unpin'
 } else {
  wrk.pinned=false;CloseMsg(wrk.name); fc.src='http://s.codeproject.com/script/forums/images/pin.gif';fc.title='Click to pin message'
 }
 return false;
}
function CloseMsg(msgId) {
 if(!msgId||msgId==''||msgId<0)return;
 var lnk=document.getElementsByName(msgId);
 if(lnk&&lnk.length>0&&lnk[0].pinned)return;
 var hed=document.getElementById('F' + msgId.toString() + '_h0');
 if(hed) hed.className = hed.className.replace("Sel", "UnSel");
 var bdy=document.getElementById('F' + msgId.toString() + '_h1');
 if(bdy) bdy.style.display = 'none';
 if(oldTitle) document.title = oldTitle;
}
function OpenMsg(msgId, keep) {
 if(!msgId||msgId==''||msgId<0)return;
 var bdy=document.getElementById('F' + msgId.toString() + '_h1');
 if(bdy){
  var lnk=document.getElementsByName(msgId);
  if(lnk&&lnk.length>0&&lnk[0].pinned)keep=true;
  if(lnk&&lnk.length>0) { oldTitle=document.title; document.title = lnk[0].innerHTML + ' - CodeProject'; }
  if(keep&&bdy.style.display!='none')return;
  if(bdy.style.display=='none') bdy.style.display='';
  else bdy.style.display = 'none';
 }
 var hed=document.getElementById('F' + msgId.toString() + '_h0');
 if (hed) hed.className = hed.className.replace('UnSel', 'Sel');
 if(bdy&&hed&&bdy.style.display!='none'){
  var webkitWeird=document.documentElement.scrollTop < document.body.scrollTop;
  if (!webkitWeird)document.body.scrollTop = getRealPos(hed, 'Top') - document.body.clientHeight/10;
  EnsureMessageVisible(msgId, true);
 }
}
function EnsureMessageVisible(msgID, bShowTop) {
	var webkitWeird = document.documentElement.scrollTop < document.body.scrollTop;
	var msgHeader = document.getElementById('F' + msgID + '_h0');
	var msgBody = document.getElementById('F' + msgID + '_h1');
	if (!msgBody || !msgHeader) return;
	var scrollContainer = document.documentElement;
	var top = getRealPos(msgHeader, 'Top');
	var bottom = getRealPos(msgBody, 'Top') + msgBody.offsetHeight;
	var scrollTop = webkitWeird? scrollTop = document.body.scrollTop:document.documentElement.scrollTop;
	if (scrollTop > top && !bShowTop) scrollTop = top - scrollContainer.clientHeight / 10;
	if (scrollTop + scrollContainer.clientHeight < bottom) scrollTop = bottom - scrollContainer.clientHeight;
	if (scrollTop > top && bShowTop) scrollTop = top - scrollContainer.clientHeight / 10;
 if (smoothScroll){
  if (webkitWeird) $(document.body).stop().animate({'scrollTop' : scrollTop}, 'fast');
  else $(scrollContainer).stop().animate({'scrollTop' : scrollTop}, 'fast');
 } else {
  if (webkitWeird) document.body.scrollTop = scrollTop;
  else scrollContainer.scrollTop = scrollTop;
 }
}
function getRealPos(i,which) {
	iPos = 0;
	while (i!=null)  {
		iPos += i['offset' + which];
		i = i.offsetParent;
	}
	return iPos;
}
var switchCallback;
function SwitchMessage(e, msgId) {
  if (msgId) msgId=msgId.toString();
  else {
    if(!e)e=window.event;
    var target=e.target?e.target:e.srcElement;
    while(target&&target.className!='message-link')target=target.parentNode;
    if(!target||target.className!='message-link')return;
    if(target.pinned){/*Selected='';*/return false;}
    msgId=target.name;
  }
  CloseMsg(Selected)
  if(Selected==msgId) Selected='';
  else { OpenMsg(msgId, false); Selected=msgId;}
  if (e){if(e.preventDefault)e.preventDefault;else e.returnValue=false;}
    if(switchCallback)switchCallback(null, msgId)
  return false;
}


//]]>
</script>

	
<script type="text/javascript">
  var _comscore = _comscore || [];
  _comscore.push({ c1: "2", c2: "13507173" });
  (function() {
	var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true;
	s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js";
	el.parentNode.insertBefore(s, el);
  })();
</script>
<noscript>
  &lt;img src="http://b.scorecardresearch.com/p?c1=2&amp;c2=13507173&amp;cv=2.0&amp;cj=1" id="ctl00_Auditing_ComScore" /&gt;
</noscript>



<script type="text/javascript">
	var _gaq = _gaq || [];
	_gaq.push(['_setAccount', 'UA-1735123-1']);
	_gaq.push(['_trackPageview']);
	_gaq.push(['_setDomainName', 'www.codeproject.com']);
	_gaq.push(['_setSessionTimeout', '1200']); 

	(function () {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
	})(); 
</script><script type="text/javascript" async="" src="./Windows XP SP2 Firewall Controller - CodeProject_files/ga.js"></script>


</head>	

<body class="chrome chrome18">




<a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#Main"><img alt="Click here to Skip to main content" class="access-link" src="./Windows XP SP2 Firewall Controller - CodeProject_files/t.gif"></a>


<div class="page-background">
	<div id="A" class="container-content">

		
		<div id="ctl00_Suggest" class="suggestions">
		
<div class="alert-bar " style="">
	<a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" class="close-notify">×</a>
	<div><b>Not quite what you are looking for? You may want to try:</b><ul class="see-also"><li><a href="http://www.codeproject.com/KB/vista-security/VistaFirewallNet.aspx?q=C%23+FireWall">The managed classes to read Windows Firewall configuration on Vista using Advanced Security Interfaces</a></li><li><a href="http://www.codeproject.com/KB/security/xpsecuritycenter.aspx?q=C%23+FireWall">Software Development: Build your own Windows Security Center</a></li></ul><div id="removeHilite" class="alert-bar-command">
<a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" onclick="unmarkText(&#39;contentdiv&#39;,&#39;removeHilite&#39;)">highlights off</a>
</div>
</div>
</div>
		</div>

		

		
		

<div class="container nav-memberbar clearfix">
	<div class="member-stats float-left">8,867,429 members and growing! (40,684 online)</div>
	<div class="float-left"></div>

	<div class="float-right">
		&nbsp;&nbsp;
	</div>

	<div class="float-right">
		

<span class="tooltip member-message">
	<img src="./Windows XP SP2 Firewall Controller - CodeProject_files/envelope11.gif" width="11px" height="11px" style="vertical-align:bottom;padding-bottom:3px">
	<div class="tooltip-flyout small-text">
		
		<div id="ctl00_MemberMenu_Messages_Confirm"><a id="ctl00_MemberMenu_Messages_EmailConfirm" href="http://www.codeproject.com/script/Membership/SendConfirmRequest.aspx?rp=%2fArticles%2f10911%2fWindows-XP-SP2-Firewall-Controller">Your email address needs to be confirmed.</a></div>
	</div>
</span><span id="ctl00_MemberMenu_CurRat" class="tooltip">
				<a id="ctl00_MemberMenu_MyProfile" href="http://www.codeproject.com/script/Membership/View.aspx?mid=8126139">quwenchao</a><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/arrow-down-16.png" style="width:16px;height:16px;vertical-align:bottom">
				<div class="tooltip-flyout" style="width:110px !important">
					<div><a id="ctl00_MemberMenu_MySettingsNonSSL" href="http://www.codeproject.com/script/Membership/Modify.aspx">My Settings</a></div>
					<div><a id="ctl00_MemberMenu_MySettings" href="https://www.codeproject.com/script/Membership/Modify.aspx"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/secure.png" width="13px" height="14px" style="vertical-align:middle;border:0">My Settings (SSL)</a></div>
					<div><a id="ctl00_MemberMenu_MyContacts" href="http://www.codeproject.com/script/Membership/ListContacts.aspx">My Contact info</a></div>
					<div><a id="ctl00_MemberMenu_MyBookmarks" href="http://www.codeproject.com/script/Bookmarks/List.aspx?obtid=2">My Bookmarks</a></div>
					
					<div><a id="ctl00_MemberMenu_MyCodeProject" href="http://www.codeproject.com/script/Membership/MyWatchedItems.aspx">My Watched Items</a></div>
					<div><a id="ctl00_MemberMenu_MyArticles" href="http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=8126139">My Articles</a></div>
					<div><a id="ctl00_MemberMenu_MyMessages" href="http://www.codeproject.com/script/Forums/Messages.aspx?fmid=8126139">My Messages</a></div>
					<div><a id="ctl00_MemberMenu_MyQuestions" href="http://www.codeproject.com/script/Answers/MemberPosts.aspx?tab=questions&mid=8126139&showall=True">My Questions</a></div>
					<div><a id="ctl00_MemberMenu_MyAnswers" href="http://www.codeproject.com/script/Answers/MemberPosts.aspx?tab=answers&mid=8126139&showall=True">My Answers</a></div>
					<div><a id="ctl00_MemberMenu_MyComments" href="http://www.codeproject.com/script/comments/MemberComments.aspx?mid=8126139">My Comments</a></div>
					
				</div>
			</span><span id="ctl00_MemberMenu_TotalPoints" title="Total reputation points 956" class="member-rep-box silver" style="margin-left:0"><a href="http://www.codeproject.com/script/Reputation/List.aspx?mid=8126139">956</a></span>
			&nbsp;
			<a id="ctl00_MemberMenu_Signout" href="http://www.codeproject.com/script/Membership/LogOff.aspx?rp=%2fArticles%2f10911%2fWindows-XP-SP2-Firewall-Controller">Sign out</a>

		
	</div>
</div>
		

		
		<table width="100%" cellspacing="0" cellpadding="0" border="0">
		<tbody><tr>
			<td class="page-header"><a href="http://www.codeproject.com/"><img id="ctl00_Logo" title="The Code Project" src="./Windows XP SP2 Firewall Controller - CodeProject_files/logo225x90.gif" alt="Home" style="border-width:0px;"></a></td>
			<td class="page-header" align="right">
				<div class="lqm_ad" lqm_publisher="lqm.codeproject.site" lqm_zone="ros" lqm_format="728x90" lqm_tags="VC7.1, WinXP, VS.NET2003, C#, .NET, Dev, COM, Intermediate,rating4.5"><iframe id="lqmad1" width="728" height="90" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe></div>
			</td>
		</tr></tbody></table>

		<table cellpadding="0" cellspacing="0" class="contrast1-background extended"><tbody><tr><td nowrap="nowrap">
			

<div class="navbar clearfix">
<ul id="nav" class="openable">

<li><a id="ctl00_TopNavBar_Home" class="down" href="http://www.codeproject.com/">Home</a>


</li><li><a id="ctl00_TopNavBar_Art" class="down selected" href="http://www.codeproject.com/script/Articles/Latest.aspx">Articles</a>

	<ul class="openable">
		<li><a id="ctl00_TopNavBar_ArtTopicList" class="fly last" onmouseover="navBarMenu.ShowMap(this, &#39;siteMap&#39;);" href="http://www.codeproject.com/script/Content/SiteMap.aspx">Chapters and Sections<span class="fly-menu">&gt;</span></a><ul id="ctl00_TopNavBar_MapFlyout" class="openable"><li>
				<div id="siteMap" class="tooltip-flyout">
					<img src="./Windows XP SP2 Firewall Controller - CodeProject_files/animated.gif" style="margin:150px;width:100px;height:100px;">
				</div>
			</li></ul>
		</li>
		<li><a id="ctl00_TopNavBar_ArtSearch" class="fly break" href="http://www.codeproject.com/search.aspx">Search</a></li>
		<li><a id="ctl00_TopNavBar_ArtLatestArts" class="fly" href="http://www.codeproject.com/script/Articles/Latest.aspx?at=1,3,7">Latest Articles</a></li>
		<li><a id="ctl00_TopNavBar_ArtLatestTips" class="fly" href="http://www.codeproject.com/script/Articles/Latest.aspx?at=6">Latest Tips/Tricks</a></li>
		<li><a id="ctl00_TopNavBar_ArtTop" class="fly" href="http://www.codeproject.com/script/Articles/TopArticles.aspx?ta_so=5">Top Articles</a></li>
		<li><a id="ctl00_TopNavBar_ArtBeginner" class="fly" href="http://www.codeproject.com/search.aspx?aidlst=152&sa_us=True">Beginner Articles</a></li>
		<li id="ctl00_TopNavBar_VideosLink">
			<a id="ctl00_TopNavBar_ArtVideoArticles" class="fly" href="http://www.codeproject.com/script/Articles/VideoArticleList.aspx">Video Articles</a>
		</li>
		<li><a id="ctl00_TopNavBar_ArtBlogArticles" class="fly break" href="http://www.codeproject.com/script/Articles/BlogArticleList.aspx">Technical Blogs</a></li>
		<li><a id="ctl00_TopNavBar_ArtPostArticle" class="fly" href="http://www.codeproject.com/script/Articles/Submit.aspx">Submit an Article or Tip</a></li>
		<li><a id="ctl00_TopNavBar_ArtPostBlog" class="fly break" href="http://www.codeproject.com/script/Articles/BlogFeed.aspx">Post your Blog</a></li>
		<li><a id="ctl00_TopNavBar_ArtGuide" class="fly" href="http://www.codeproject.com/info/Submit.aspx">Posting/Update Guidelines</a></li>
		<li><a id="ctl00_TopNavBar_ArtCompetition" class="fly last" href="http://www.codeproject.com/script/Awards/CurrentCompetitions.aspx?cmpTpId=1">Article Competition</a></li>
	</ul>

</li>



<li><a id="ctl00_TopNavBar_Answers" href="http://www.codeproject.com/script/Answers/List.aspx?tab=active">Quick Answers</a>
	<ul class="openable">
		<li id="ctl00_TopNavBar_AQL"><a id="ctl00_TopNavBar_ArticleQuestion" class="fly highlight" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#_comments">Ask a Question about this article</a></li>

		<li><a id="ctl00_TopNavBar_QAAsk" class="fly" href="http://www.codeproject.com/Questions/ask.aspx">Ask a Question</a></li>

		
		<li><a id="ctl00_TopNavBar_QAUnanswered" class="fly" href="http://www.codeproject.com/script/Answers/List.aspx?tab=unanswered">View Unanswered Questions</a></li>
		<li><a id="ctl00_TopNavBar_QALatest" class="fly" href="http://www.codeproject.com/script/Answers/List.aspx?tab=active">View All Questions...</a></li>
		
				<li><a id="ctl00_TopNavBar_QATR_ctl00_Tag" class="fly" href="http://www.codeproject.com/script/Answers/List.aspx?tab=active&alltags=true&tags=81" style="padding-left:30px">C# questions</a></li>
			
				<li><a id="ctl00_TopNavBar_QATR_ctl01_Tag" class="fly" href="http://www.codeproject.com/script/Answers/List.aspx?tab=active&alltags=true&tags=85" style="padding-left:30px">ASP.NET questions</a></li>
			
				<li><a id="ctl00_TopNavBar_QATR_ctl02_Tag" class="fly" href="http://www.codeproject.com/script/Answers/List.aspx?tab=active&alltags=true&tags=842" style="padding-left:30px">VB.NET questions</a></li>
			
				<li><a id="ctl00_TopNavBar_QATR_ctl03_Tag" class="fly" href="http://www.codeproject.com/script/Answers/List.aspx?tab=active&alltags=true&tags=78" style="padding-left:30px">C++ questions</a></li>
			
				<li><a id="ctl00_TopNavBar_QATR_ctl04_Tag" class="fly" href="http://www.codeproject.com/script/Answers/List.aspx?tab=active&alltags=true&tags=308" style="padding-left:30px">C#4.0 questions</a></li>
			
	</ul>

</li>



<li><a id="ctl00_TopNavBar_Forums" href="http://www.codeproject.com/script/Forums/List.aspx">Discussions</a>

	<ul class="openable">
		<li><a id="ctl00_TopNavBar_MessageBoardsAll" class="fly" href="http://www.codeproject.com/script/Forums/List.aspx">All Message Boards...</a></li>
		<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1580997/Application-Lifecycle.aspx">Application Lifecycle<span class="fly-menu">&gt;</span></a>
<ul class="openable"><li><a class="fly" href="http://www.codeproject.com/Forums/1533717/Running-a-Business.aspx">Running a Business</a></li>
<li><a class="fly" href="http://www.codeproject.com/Forums/1533716/Sales-Marketing.aspx">Sales / Marketing</a></li>
<li><a class="fly" href="http://www.codeproject.com/Forums/1651/Collaboration-Beta-Testing.aspx">Collaboration / Beta Testing</a></li>
<li><a class="fly" href="http://www.codeproject.com/Forums/3304/Work-Training-Issues.aspx">Work &amp; Training Issues</a></li>
</ul></li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/369270/Design-and-Architecture.aspx">Design and Architecture</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/12076/ASP-NET.aspx">ASP.NET</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1580226/JavaScript.aspx">JavaScript</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1647/C-Cplusplus-MFC.aspx">C / C++ / MFC<span class="fly-menu">&gt;</span></a>
<ul class="openable"><li><a class="fly" href="http://www.codeproject.com/Forums/4486/ATL-WTL-STL.aspx">ATL /  WTL / STL</a></li>
<li><a class="fly" href="http://www.codeproject.com/Forums/3785/Managed-Cplusplus-CLI.aspx">Managed C++/CLI</a></li>
</ul></li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1649/Csharp.aspx">C#</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1627782/Free-Tools.aspx">Free Tools</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1725/Database.aspx">Database</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/186301/Hardware-Devices.aspx">Hardware &amp; Devices<span class="fly-menu">&gt;</span></a>
<ul class="openable"><li><a class="fly" href="http://www.codeproject.com/Forums/1644/System-Admin.aspx">System Admin</a></li>
</ul></li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1606152/Hosting-and-Servers.aspx">Hosting and Servers</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1643/Java.aspx">Java</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1650/NET-Framework.aspx">.NET Framework</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/13695/Mobile.aspx">Mobile</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1653293/VS-11-NET-4-5.aspx">VS 11 &amp; .NET 4.5</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1540733/Sharepoint.aspx">Sharepoint</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1004257/Silverlight-WPF.aspx">Silverlight / WPF</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1646/Visual-Basic.aspx">Visual Basic</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1640/Web-Development.aspx">Web Development</a>
</li>
<li><a class="fly" style="padding-left:30px" href="http://www.codeproject.com/Forums/1645/Site-Bugs-Suggestions.aspx">Site Bugs / Suggestions</a>
</li>

		<li class="heading">Other Languages<span class="fly-menu">&gt;</span>
		<ul class="openable">
		<li><a class="fly" href="http://www.codeproject.com/Forums/1580229/Hindi.aspx">General Indian Topics</a></li>
		<li><a class="fly" href="http://www.codeproject.com/Forums/1580230/Chinese.aspx">General Chinese Topics</a></li>
		</ul>
		</li>
		
	</ul>

</li>

<li><a id="ctl00_TopNavBar_Zones" href="http://www.codeproject.com/Zones/index.aspx">Zones</a>

	<ul class="openable">
		<!--<li class="heading">Zones</li>-->
		<li><a href="http://www.codeproject.com/Zones/Commerce/" class="fly">The Commerce Zone</a></li><li><a href="http://www.codeproject.com/Zones/Mobile/" class="fly">The Mobile &amp; App Zone</a></li><li><a href="http://www.codeproject.com/Zones/Cloud/" class="fly">The Cloud Zone</a></li><li><a href="http://www.codeproject.com/Zones/Hardware/" class="fly">The Hardware Zone</a></li><li><a href="http://www.codeproject.com/Zones/Parallelism/" class="fly">The Parallelism Zone</a></li><li><a href="http://www.codeproject.com/Zones/WPF-Silverlight/" class="fly">The WPF / Silverlight Zone</a></li><li><a href="http://www.codeproject.com/Zones/Flex-Flash/" class="fly">The Flex / Flash Zone</a></li><li><a href="http://www.codeproject.com/Zones/HTML-CSS/" class="fly">The HTML5 / CSS3 Zone</a></li><li><a href="http://www.codeproject.com/Zones/SharePoint/" class="fly">SharePoint Zone</a></li><li><a href="http://www.codeproject.com/Zones/SqlServer/" class="fly">The SQL Zone</a></li><li><a href="http://www.codeproject.com/Zones/WhitePapers/" class="fly break">WhitePapers / Webcasts</a></li>
		<li><a id="ctl00_TopNavBar_Solutions" class="fly last" href="http://www.codeproject.com/KB/solution-center/">Solutions Center</a></li>
	</ul>

</li>










<li><a id="ctl00_TopNavBar_Features" href="http://www.codeproject.com/Feature/">Features</a>

	<ul class="openable">
		<li><a id="ctl00_TopNavBar_WhosWho" class="fly" href="http://www.codeproject.com/script/Membership/Profiles.aspx">Who's Who</a></li>
		<li><a id="ctl00_TopNavBar_MVPs" class="fly" href="http://www.codeproject.com/script/Awards/MVPWinners.aspx">Most Valuable Professionals</a></li>
		<li><a id="ctl00_TopNavBar_Companies" class="fly break" href="http://www.codeproject.com/script/Membership/Profiles.aspx?mgtid=1&mgm=True">Company Listings</a></li>
		<li><a id="ctl00_TopNavBar_Catalog" class="fly" href="http://www.codeproject.com/script/Catalog/List.aspx">Component &amp; Service Catalog</a></li>
		<li><a id="ctl00_TopNavBar_Comps" class="fly" href="http://www.codeproject.com/script/Awards/CurrentCompetitions.aspx?cmpTpId=1&awsac=true">Competitions</a></li>
		<li><a id="ctl00_TopNavBar_News" class="fly" href="http://www.codeproject.com/script/News/List.aspx">News</a></li>
		<li></li>
		<li><a id="ctl00_TopNavBar_Insider" class="fly" href="http://www.codeproject.com/Feature/Insider/">The Insider Newsletter</a></li>
		<li><a id="ctl00_TopNavBar_Newsletters" class="fly" href="http://www.codeproject.com/script/Mailouts/Archive.aspx?mtpid=1">Newsletter archive</a></li>
		<li><a id="ctl00_TopNavBar_PressRelease" class="fly" href="http://www.codeproject.com/script/PressReleases/Preview.aspx">Press Releases</a></li>
		<li><a id="ctl00_TopNavBar_Surveys" class="fly" href="http://www.codeproject.com/script/Surveys/List.aspx">Surveys</a></li>
		<li><a id="ctl00_TopNavBar_Stuff" class="fly last" href="http://www.codeproject.com/Info/Stuff.aspx">CodeProject Stuff</a></li>
		<li></li>
	</ul>

</li>


<li><a id="ctl00_TopNavBar_Help" href="http://www.codeproject.com/KB/FAQs/">Help!</a>

	<ul class="openable">
		<li><a id="ctl00_TopNavBar_HelpWhatIs" class="fly" href="http://www.codeproject.com/info/guide.aspx">What is 'The Code Project'?</a></li>
		<li><a id="ctl00_TopNavBar_HelpGeneral" class="fly" href="http://www.codeproject.com/KB/FAQs/">General FAQ</a></li>
		<li><a id="ctl00_TopNavBar_HelpPostQuestion" class="fly" href="http://www.codeproject.com/Questions/ask.aspx">Post a Question</a></li>
		<li><a id="ctl00_TopNavBar_HelpBugs" class="fly" href="http://www.codeproject.com/Forums/1645/Site-Bugs-Suggestions.aspx">Bugs and Suggestions</a></li>
		<li><a id="ctl00_TopNavBar_HelpSiteMap" class="fly" href="http://www.codeproject.com/script/Content/SiteMap.aspx">Site Map</a></li>
		<li><a id="ctl00_TopNavBar_HelpAdvertise" class="fly" href="http://lakequincy.com/">Advertise with us</a></li>
		<li><a id="ctl00_TopNavBar_HelpAboutUs" class="fly last" href="http://www.codeproject.com/info/about.aspx">About Us</a></li>
	</ul>

</li>


<li style="margin-left:10px">
<a id="ctl00_TopNavBar_Lounge" class="simple" href="http://www.codeproject.com/Lounge.aspx">The Lounge</a>

	<ul class="openable">
		<li><a id="ctl00_TopNavBar_InsiderLnk" class="fly" href="http://www.codeproject.com/Insider.aspx">The Insider News</a></li>
		<li><a id="ctl00_TopNavBar_LoungeLnk" class="fly" href="http://www.codeproject.com/Lounge.aspx">The Lounge &nbsp;</a></li>
		<li><a id="ctl00_TopNavBar_CleverLnk" class="fly" href="http://www.codeproject.com/Feature/CleverCode.aspx">Clever Code</a></li>
		<li><a id="ctl00_TopNavBar_ShameLnk" class="fly" href="http://www.codeproject.com/Feature/HallOfShame.aspx">Hall of Shame</a></li>
		<li><a id="ctl00_TopNavBar_SoapBoxLnk" class="fly" href="http://www.codeproject.com/Forums/1536756/The-Soapbox.aspx">The Soapbox</a></li>
	</ul>

</li>

</ul>

</div>

		</td><td align="right">
			

<div class="search-bar">

<form method="get" action="http://www.codeproject.com/search.aspx" name="Search" class="tight">


<table border="0" cellspacing="0" cellpadding="0" class="search"><tbody><tr><td><input tabindex="2" class="search highlight" id="sb_tb" value="C# FireWall" name="q"></td><td><input type="image" src="./Windows XP SP2 Firewall Controller - CodeProject_files/search.gif"></td></tr></tbody></table>

<div class="hover-container">
	<div id="SearchFilter" class="search-advanced small-text align-left" style="display: none; ">
	<b>Search within:<br></b>
		
		<input type="radio" id="sb_kw" name="sbo" value="kw" checked="true"><label for="sb_kw">Articles</label><br>
<input type="radio" id="sb_qa" name="sbo" value="qa"><label for="sb_qa">Quick Answers</label><br>
<input type="radio" id="sb_fm" name="sbo" value="fm"><label for="sb_fm">Messages</label><br>
<input type="radio" id="sb_ctlk" name="sbo" value="ctlk"><label for="sb_ctlk">Product Catalog</label><br>


		
		
	</div>
</div>
</form>

</div>
		</td></tr></tbody></table>
		

		
		<div class="container-article hreview-aggregate"> 
		
			
			<div class="container-header">
				<div id="ctl00_Header" class="header">

					<a name="Main"></a>

					
					<a name="_articleTop" id="_articleTop"></a>
					

<div class="clearfix hover-container">

	
	<div class="float-right action-links"> 
		<span id="SBI"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/share_drop24.png" id="ctl00_TitleArea_ActionLinks_AddTo_Img" width="37" height="24" alt="add" style="vertical-align:middle">
</span>
<div id="ATD" class="list-socialbookmark" style="left: 656px; top: 20px; "><div><a class="AddTo" title="Add this page to Twitter" onclick="return socialLinks.addto(0);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#"><img align="absmiddle" src="./Windows XP SP2 Firewall Controller - CodeProject_files/AddTo_Twitter.gif" width="16px" height="16px" border="0"> Twitter</a> </div><div><a class="AddTo" title="Add this page to Digg" onclick="return socialLinks.addto(1);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#"><img align="absmiddle" src="./Windows XP SP2 Firewall Controller - CodeProject_files/AddTo_Digg.png" width="16px" height="16px" border="0"> Digg</a> </div><div><a class="AddTo" title="Add this page to Facebook" onclick="return socialLinks.addto(2);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#"><img align="absmiddle" src="./Windows XP SP2 Firewall Controller - CodeProject_files/AddTo_Facebook.png" width="16px" height="16px" border="0"> Facebook</a> </div><div><a class="AddTo" title="Add this page to Del.icio.us" onclick="return socialLinks.addto(3);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#"><img align="absmiddle" src="./Windows XP SP2 Firewall Controller - CodeProject_files/AddTo_Delicious.png" width="16px" height="16px" border="0"> Del.icio.us</a> </div><div><a class="AddTo" title="Add this page to Reddit" onclick="return socialLinks.addto(4);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#"><img align="absmiddle" src="./Windows XP SP2 Firewall Controller - CodeProject_files/AddTo_Reddit.png" width="16px" height="16px" border="0"> Reddit</a> </div><div><a class="AddTo" title="Add this page to Stumbleupon" onclick="return socialLinks.addto(5);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#"><img align="absmiddle" src="./Windows XP SP2 Firewall Controller - CodeProject_files/AddTo_stumbleupon.png" width="16px" height="16px" border="0"> Stumbleupon</a> </div><div><a class="AddTo" title="Add this page to Newsvine" onclick="return socialLinks.addto(6);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#"><img align="absmiddle" src="./Windows XP SP2 Firewall Controller - CodeProject_files/AddTo_Newsvine.png" width="16px" height="16px" border="0"> Newsvine</a> </div><div><a class="AddTo" title="Add this page to Technorati" onclick="return socialLinks.addto(7);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#"><img align="absmiddle" src="./Windows XP SP2 Firewall Controller - CodeProject_files/AddTo_Technorati.png" width="16px" height="16px" border="0"> Technorati</a> </div><div><a class="AddTo" title="Add this page to Mr. Wong" onclick="return socialLinks.addto(8);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#"><img align="absmiddle" src="./Windows XP SP2 Firewall Controller - CodeProject_files/AddTo_MrWong.png" width="16px" height="16px" border="0"> Mr. Wong</a> </div><div><a class="AddTo" title="Add this page to Yahoo!" onclick="return socialLinks.addto(9);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#"><img align="absmiddle" src="./Windows XP SP2 Firewall Controller - CodeProject_files/AddTo_Yahoo.png" width="16px" height="16px" border="0"> Yahoo!</a> </div><div><a class="AddTo" title="Add this page to Google" onclick="return socialLinks.addto(10);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#"><img align="absmiddle" src="./Windows XP SP2 Firewall Controller - CodeProject_files/AddTo_Google.png" width="16px" height="16px" border="0"> Google</a> </div><div><a class="AddTo" title="Add this page to Windows Live" onclick="return socialLinks.addto(11);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#"><img align="absmiddle" src="./Windows XP SP2 Firewall Controller - CodeProject_files/AddTo_Live.png" width="16px" height="16px" border="0"> Windows Live</a> </div><div><a class="AddTo" title="Send as Email" onclick="return socialLinks.addto(12);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#"><img align="absmiddle" src="./Windows XP SP2 Firewall Controller - CodeProject_files/envelope.gif" width="16px" height="16px" border="0"> Send as Email</a> </div></div> 
 

<span class="tooltip">
	<a id="ctl00_TitleArea_ActionLinks_ArticleBmk_ImgBt" title="Bookmark" alternatetext="Bookmark" name="bm_10911_2" onclick="return bookmarkMe(10911,2,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=10911&amp;obtid=2&amp;action=AddBookmark&amp;bio=true&#39;,true);" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=10911&obtid=2&action=AddBookmark&bio=true" style="display:inline-block;height:24px;width:24px;vertical-align:middle;"><img title="Bookmark" src="./Windows XP SP2 Firewall Controller - CodeProject_files/bookmark.png" alt="" style="border-width:0px;"></a>


<span id="ctl00_TitleArea_ActionLinks_ArticleBmk_StatusMsg" class="tiny-text" style="display:none" name="bm_10911_2"></span>
 
	<div class="speech-bubble-container-up">
		<div class="speech-bubble-up">Add to your CodeProject bookmarks</div>
		<div class="speech-bubble-pointer-up">
			<div class="speech-bubble-pointer-up-inner"></div>
		</div>
	</div>
</span>


<a id="ctl00_TitleArea_ActionLinks_PrintLnk" class="tooltip" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?display=Print">
	<img src="./Windows XP SP2 Firewall Controller - CodeProject_files/print.gif" width="24px" height="24px" style="vertical-align:middle;border:0">
	<div class="speech-bubble-container-up">
		<div class="speech-bubble-up">Print Article</div>
		<div class="speech-bubble-pointer-up">
			<div class="speech-bubble-pointer-up-inner"></div>
		</div>
	</div>
</a>
	</div>

	<div class="container">
		
		<div class="breadcrumb float-left"><a href="http://www.codeproject.com/script/Content/SiteMap.aspx"><span class="sitemap-anchor" onmouseover="navBarMenu.ShowMap(this,&#39;map&#39;);"><img width="16px" height="16px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/sitemap16.png" border="0" alt="Site map" style="vertical-align:middle"><div id="map" class="tooltip-flyout"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/animated.gif" style="margin:150px;width:100px;height:100px;border:0;"></div></span></a> » <a href="http://www.codeproject.com/Chapters/8/Platforms-Frameworks-Libraries.aspx">Platforms, Frameworks &amp; Libraries</a> » <a href="http://www.codeproject.com/KB/winsdk/">Win32/64 SDK &amp; OS</a> » <a href="http://www.codeproject.com/KB/winsdk/#General">General</a></div>
	</div>

	
	<div id="ctl00_TitleArea_InfoArea" class="float-right pad-top">
		

<div class="infobox">
	<table class="tight small-text" cellpadding="0" cellspacing="1">
	<tbody><tr><td>Licence&nbsp;</td><td></td></tr>
	
	<tr><td>First Posted&nbsp;</td><td nowrap="nowrap"><b>5 Jul 2005</b></td></tr>
	<tr><td>Views&nbsp;</td><td><b>126,567</b></td></tr>
		
	
	<tr><td>Bookmarked&nbsp;</td><td><b>80 times</b></td></tr>
	

	
	
	</tbody></table>
</div>	
	</div>

	
	<div class="item">
	<h1 id="ctl00_TitleArea_ArticleTitle" class="fn">Windows XP SP2 Firewall Controller</h1> 
	</div>

	
	<div class="author">
		By <b><a rel="author" href="http://www.codeproject.com/script/Membership/View.aspx?mid=78882">moah</a></b> | 
		10 Jul 2006 
		
		| <a id="ctl00_TitleArea_ArticleInfoLink" href="http://www.codeproject.com/script/Articles/Types.aspx?#Article">Article</a>

		
		
	</div>
	
	<div class="tags">
	<span id="ctl00_TitleArea_TagsList_TagWrp" class="tags">
	
	
	
	<span id="ctl00_TitleArea_TagsList_VisibleTags"><span class="t"><a rel="tag" href="http://www.codeproject.com/Tags/VC7.1">VC7.1</a></span><span class="t"><a rel="tag" href="http://www.codeproject.com/Tags/WinXP">WinXP</a></span><span class="t"><a rel="tag" href="http://www.codeproject.com/Tags/VS.NET2003">VS.NET2003</a></span><span class="t"><a rel="tag" href="http://www.codeproject.com/Tags/C%23">C#</a></span><span class="t"><a rel="tag" href="http://www.codeproject.com/Tags/.NET">.NET</a></span><span class="t"><a rel="tag" href="http://www.codeproject.com/Tags/Dev">Dev</a></span><span class="t"><a rel="tag" href="http://www.codeproject.com/Tags/COM">COM</a></span><span class="t"><a rel="tag" href="http://www.codeproject.com/Tags/Intermediate">Intermediate</a></span></span> 

	
	
</span>

	</div>

	
	<div class="abstract summary"><span id="ctl00_TitleArea_ArticleDescr">How to control a base firewall included in Windows XP SP2 using COM.</span></div>
</div>



					

				</div>

				<div id="ctl00_HeadSide" class="header-sidebar">
					<div class="align-left" style="height:24px">
						


&nbsp;










					</div>

					

<div class="bold pad-top">See Also</div>
<ul class="outdent small-text" style="margin-left:5px">
	<li><a id="ctl00_SeeAlso_LikeThis" href="http://www.codeproject.com/search.aspx?q=Windows+XP+SP2+Firewall+Controller">More like this</a></li>
	<li><a id="ctl00_SeeAlso_ByAuthor" href="http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=78882">More by this author</a></li>
</ul>

				</div>

			</div>
			

			
			<div id="ctl00_Nav" class="container-nav">
				<div id="ctl00_TabContainer" class="tabs-container clearfix">

					<div class="float-left">
						
						

<div class="tabs float-left"><table cellpadding="0" cellspacing="0"><tbody><tr>
	<td class="tab-selected">Article</td><td class="tab-unselected"><a href="http://www.codeproject.com/script/Articles/ViewDownloads.aspx?aid=10911">Browse Code</a></td><td class="tab-unselected"><a href="http://www.codeproject.com/script/Articles/Statistics.aspx?aid=10911">Stats</a></td><td class="tab-unselected"><a href="http://www.codeproject.com/script/Articles/ListVersions.aspx?aid=10911">Revisions</a></td><td class="tab-unselected"><a href="http://www.codeproject.com/script/Articles/ListAlternatives.aspx?aid=10911">Alternatives</a></td>
</tr></tbody></table></div>	


						
						<div class="float-left" style="margin-left:15px">
							<div id="ctl00_CurRat" class="tooltip anchorLink" style="cursor:pointer" onclick="scrollToAnchor(&#39;#_rating&#39;);" name="CurRat_10911">
								

<table cellpadding="0" cellspacing="0" class="small-text">
<tbody><tr>
	
	<td class="nowrap">

		<span id="ctl00_ArticleRating_VI">
		<div class="nowrap rating-stars" style="height:24px;width:120px;position:relative;">
	<div class="clipped align-left float-left" style="height:24px;width:115px;">
		<img src="./Windows XP SP2 Firewall Controller - CodeProject_files/stars-fill.png" style="border-width:0px;">
	</div><div class="clipped" style="height:24px;width:5px;position:relative;">
		<img src="./Windows XP SP2 Firewall Controller - CodeProject_files/stars-empty.png" style="border-width:0px;position:absolute;top:0;right:0;">
	</div>
</div>
		</span>

		
	</td>
	
	<td id="ctl00_ArticleRating_VR" class="nowrap">
		&nbsp;
		<span id="ctl00_ArticleRating_VotesR">&nbsp;<span class="rating">4.80</span> (<span class="count">33 votes</span>)</span>
		
	</td>

</tr>

</tbody></table>

								<div id="ctl00_RB" class="speech-bubble-container-up">
									<div class="speech-bubble-up" style="width:150px !important">
										            
<div>
<table class="feature" width="100%" height="50px" title="Voting Distribution. Recent data only" cellpadding="0" cellspacing="0"><tbody><tr><td class="chart-column rating-ignore-vote" title="Outside deviation limits - not included in score."><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pollcol.gif" width="20pxpx" height="1px" border="0px" alt="1 vote, 3.0%" title="1 vote, 3.0%"><br><span title="1 vote">1</span></td>
<td class="chart-column rating-ignore-vote" title="Outside deviation limits - not included in score."><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(1).gif" width="20pxpx" height="1px" border="0px" alt="" title=""><br><span title="0 votes">2</span></td>
<td class="chart-column rating-ignore-vote" title="Outside deviation limits - not included in score."><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(1).gif" width="20pxpx" height="1px" border="0px" alt="" title=""><br><span title="0 votes">3</span></td>
<td class="chart-column"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pollcol.gif" width="20pxpx" height="7px" border="0px" alt="4 votes, 12.1%" title="4 votes, 12.1%"><br><span title="4 votes">4</span></td>
<td class="chart-column"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pollcol.gif" width="20pxpx" height="50px" border="0px" alt="28 votes, 84.8%" title="28 votes, 84.8%"><br><span title="28 votes">5</span></td>
</tr></tbody></table><div class="small-text align-center">4.80/5 - 33 votes</div><div class="small-text align-center subdue">1 removed</div><div class="small-text align-center subdue">μ 4.59, σ<sub>a</sub> 1.31 [<a href="http://www.codeproject.com/KB/FAQs/RatingReputationFAQ.aspx#noisefilter">?</a>]</div>
</div>
									</div>
									<div class="speech-bubble-pointer-up">
										<div class="speech-bubble-pointer-up-inner"></div>
									</div>
								</div>
							</div>
						</div>

						<div class="float-left">
							&nbsp; 
							<a id="discussAnch" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#_comments" class="tooltip anchorLink">
							<img src="./Windows XP SP2 Firewall Controller - CodeProject_files/discuss.gif" width="24px" height="24px" alt="Discuss" style="vertical-align:middle;border:0">
								<div class="speech-bubble-container-up">
									<div class="speech-bubble-up">Discuss this article</div>
									<div class="speech-bubble-pointer-up">
										<div class="speech-bubble-pointer-up-inner"></div>
									</div>
								</div>
							</a>
							<span id="ctl00_CmtCnt" class="subdue small-text align-middle" style="margin-left:-4px">44</span>

							&nbsp; <span id="ctl00_ReportItem_StatusMsg" class="tiny-text" style="display:none"></span>


<span id="ctl00_ReportItem_CurRpt" class="tooltip">	
		<img id="ctl00_ReportItem_MenuImage" alt="report" src="./Windows XP SP2 Firewall Controller - CodeProject_files/report.gif" style="border-width:0px;vertical-align:middle">
		
		<div class="tooltip-flyout" style="width:220px !important" onmouseover="CheckForUndo(this);">
			<div id="ctl00_ReportItem_CommentDiv" class="small-text">
			<b>Comments?</b><br>
				<input name="ctl00$ReportItem$Comments" type="text" id="ctl00_ReportItem_Comments" class="report-comment">
			</div>
			 
			
					<div id="ctl00_ReportItem_ReportingTypeHeaders_ctl00_Header" class="report-header">Report</div>
					
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl00_ReportingTypes_ctl00_Link" name="rpt_10911_2_1" onclick="return ReportMe(10911,2,1,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=10911&amp;obstid=1&amp;ovid=1&amp;rid=1&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="http://www.codeproject.com/script/Content/Report.aspx?obtid=2&obid=10911&obstid=1&ovid=1&rid=1">Unclear or Incomplete</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl00_ReportingTypes_ctl01_Link" name="rpt_10911_2_10" onclick="return ReportMe(10911,2,10,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=10911&amp;obstid=1&amp;ovid=1&amp;rid=10&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="http://www.codeproject.com/script/Content/Report.aspx?obtid=2&obid=10911&obstid=1&ovid=1&rid=10">Extremely poor quality</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl00_ReportingTypes_ctl02_Link" name="rpt_10911_2_4" onclick="return ReportMe(10911,2,4,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=10911&amp;obstid=1&amp;ovid=1&amp;rid=4&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="http://www.codeproject.com/script/Content/Report.aspx?obtid=2&obid=10911&obstid=1&ovid=1&rid=4">Off-topic</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl00_ReportingTypes_ctl03_Link" name="rpt_10911_2_5" onclick="return ReportMe(10911,2,5,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=10911&amp;obstid=1&amp;ovid=1&amp;rid=5&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="http://www.codeproject.com/script/Content/Report.aspx?obtid=2&obid=10911&obstid=1&ovid=1&rid=5">Spam/abusive</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl00_ReportingTypes_ctl04_Link" name="rpt_10911_2_11" onclick="return ReportMe(10911,2,11,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=10911&amp;obstid=1&amp;ovid=1&amp;rid=11&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="http://www.codeproject.com/script/Content/Report.aspx?obtid=2&obid=10911&obstid=1&ovid=1&rid=11">Plagiarized</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl00_ReportingTypes_ctl05_Link" name="rpt_10911_2_12" onclick="return ReportMe(10911,2,12,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=10911&amp;obstid=1&amp;ovid=1&amp;rid=12&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="http://www.codeproject.com/script/Content/Report.aspx?obtid=2&obid=10911&obstid=1&ovid=1&rid=12">Inaccurate / Misleading</a>
							</div>
						 
			   
					<div id="ctl00_ReportItem_ReportingTypeHeaders_ctl01_Header" class="report-header">Needs help</div>
					
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl01_ReportingTypes_ctl00_Link" name="rpt_10911_2_14" onclick="return ReportMe(10911,2,14,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=10911&amp;obstid=1&amp;ovid=1&amp;rid=14&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="http://www.codeproject.com/script/Content/Report.aspx?obtid=2&obid=10911&obstid=1&ovid=1&rid=14">Format / layout issues</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl01_ReportingTypes_ctl01_Link" name="rpt_10911_2_15" onclick="return ReportMe(10911,2,15,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=10911&amp;obstid=1&amp;ovid=1&amp;rid=15&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="http://www.codeproject.com/script/Content/Report.aspx?obtid=2&obid=10911&obstid=1&ovid=1&rid=15">Wrong section / tags</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl01_ReportingTypes_ctl02_Link" name="rpt_10911_2_16" onclick="return ReportMe(10911,2,16,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=10911&amp;obstid=1&amp;ovid=1&amp;rid=16&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="http://www.codeproject.com/script/Content/Report.aspx?obtid=2&obid=10911&obstid=1&ovid=1&rid=16">Wrong type (tip, blog, article)</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl01_ReportingTypes_ctl03_Link" name="rpt_10911_2_17" onclick="return ReportMe(10911,2,17,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=10911&amp;obstid=1&amp;ovid=1&amp;rid=17&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="http://www.codeproject.com/script/Content/Report.aspx?obtid=2&obid=10911&obstid=1&ovid=1&rid=17">Missing images/downloads</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl01_ReportingTypes_ctl04_Link" name="rpt_10911_2_18" onclick="return ReportMe(10911,2,18,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=10911&amp;obstid=1&amp;ovid=1&amp;rid=18&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="http://www.codeproject.com/script/Content/Report.aspx?obtid=2&obid=10911&obstid=1&ovid=1&rid=18">Images/downloads are offsite</a>
							</div>
						 
			   

			<div class="Undo"></div>
		</div>
	</span>



							   
						</div>

					</div>

				</div>

				
			</div>
			

			
			<div class="container-text">

				<div id="AT" class="text">
					
					
					
					

						
							
			
					<div id="ctl00_confirmError" class="callout small-text" style="padding:10px;margin:20px;"><img style="float:left;margin-right:10px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/warning_32.png" width="32px" height="32px"><b>Is your email address OK?</b>
					You are signed up for our newsletters but your email address is either unconfirmed, or has not 
					been reconfirmed in a long time. Please click 
					<a id="ctl00_RequestConfirmLink2" href="http://www.codeproject.com/script/Membership/SendConfirmRequest.aspx?rp=%2fArticles%2f10911%2fWindows-XP-SP2-Firewall-Controller">here</a> to have a 
					confirmation email sent so we can confirm your email address and start sending you newsletters 
					again. Alternatively, you can 
					<a id="ctl00_SubscribeLink2" href="http://www.codeproject.com/script/Membership/Subscribe.aspx?rp=%2fArticles%2f10911%2fWindows-XP-SP2-Firewall-Controller">update your subscriptions</a>.</div><form name="aspnetForm" method="post" action="./Windows XP SP2 Firewall Controller - CodeProject_files/Windows XP SP2 Firewall Controller - CodeProject.htm" id="aspnetForm" style="margin:0;padding:0"><div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMjExOTQzNjk4Mw9kFgJmD2QWAgIHD2QWCgIBDxYCHgdWaXNpYmxlZ2QCEQ9kFgICAQ9kFgZmDw8WAh4LTmF2aWdhdGVVcmwFMi9zY3JpcHQvQXJ0aWNsZXMvQWRtaW4vRWRpdG9yQ2hvaWNlLmFzcHg/YWlkPTEwOTExZGQCAg8PFgIfAQU4L3NjcmlwdC9Bd2FyZHMvQWRtaW4vQXdhcmRPYmplY3QuYXNweD9vYmlkPTEwOTExJm9idGlkPTJkZAIKDw8WAh8BBS8vc2NyaXB0L0FydGljbGVzL0FkbWluL1F1ZXVlRWRpdC5hc3B4P2FpZD0xMDkxMWRkAhMPZBYCAgEPZBYCAgIPFgIeCWlubmVyaHRtbAUCNDRkAhUPZBYCAgsPZBYIAgEPFgIfAGcWBAIBDw8WAh8BBWYvc2NyaXB0L01lbWJlcnNoaXAvU2VuZENvbmZpcm1SZXF1ZXN0LmFzcHg/cnA9JTJmQXJ0aWNsZXMlMmYxMDkxMSUyZldpbmRvd3MtWFAtU1AyLUZpcmV3YWxsLUNvbnRyb2xsZXJkZAIDDw8WAh8BBV0vc2NyaXB0L01lbWJlcnNoaXAvU3Vic2NyaWJlLmFzcHg/cnA9JTJmQXJ0aWNsZXMlMmYxMDkxMSUyZldpbmRvd3MtWFAtU1AyLUZpcmV3YWxsLUNvbnRyb2xsZXJkZAICDxYCHgZhY3Rpb24FMi9BcnRpY2xlcy8xMDkxMS9XaW5kb3dzLVhQLVNQMi1GaXJld2FsbC1Db250cm9sbGVyFgoCAQ8PFgQfAQU2L3NjcmlwdC9BcnRpY2xlcy9TdWJtaXNzaW9uV2l6YXJkLmFzcHg/YXQ9MSZhcGlkPTEwOTExHwBnZGQCAw9kFgICAQ8WAh8AaGQCBQ9kFgICAg9kFgICAQ8QZGQWAGQCCw8WAh4LXyFJdGVtQ291bnQCAWQCDQ9kFgICAQ8WAh4EVGV4dAVrPGEgY2xhc3M9ImFuY2hvckxpbmsiIGhyZWY9Ii9BcnRpY2xlcy8xMDkxMS9XaW5kb3dzLVhQLVNQMi1GaXJld2FsbC1Db250cm9sbGVyI19hcnRpY2xlVG9wIj5BcnRpY2xlIFRvcDwvYT5kAgoPDxYEHwUFCVBlcm1hbGluax8BBTIvQXJ0aWNsZXMvMTA5MTEvV2luZG93cy1YUC1TUDItRmlyZXdhbGwtQ29udHJvbGxlcmRkAhkPFgIfBQUWQ29weXJpZ2h0IDIwMDUgYnkgbW9haGQCFw9kFgICBQ8PFgIfAGhkZGRGKglLT0CNKpVe4KcGIt/NMMn6OQ==">
</div>

<div>

	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWCQKGm+T3DQKi6fqQCgLAlMXDBwLBlMXDBwLClMXDBwLDlMXDBwLElMXDBwLP+++tCwK5upDkCwfME54SKuMc2tFN7yIlQZ2t53/Y">
</div>

						<a id="ctl00_AddAlternative" title="Write a related article about upgrades or translate this into a different language." class="button add-alternative float-right" href="http://www.codeproject.com/script/Articles/SubmissionWizard.aspx?at=1&apid=10911">Add your own<br>alternative version</a>

						<!-- Article Text Start -->
						<div id="contentdiv">
						



<ul class="download">
<li><a href="http://www.codeproject.com/KB/winsdk/WinXPSP2Firewall/WinXPSP2Firewall_src.zip">Download source files - 6.5 Kb</a> 
</li><li><a href="http://www.codeproject.com/KB/winsdk/WinXPSP2Firewall/WinXPSP2Firewall_demo.zip">Download C++ demo project - 21.9 Kb</a> 
</li><li><a href="http://www.codeproject.com/KB/winsdk/WinXPSP2Firewall/WinXPSP2Firewall_demo_csharp.zip">Download C# demo project - 5.78 Kb</a> </li></ul>
<p><img height="508" alt="Sample Image - WinXPSP2Firewall.jpg" src="./Windows XP SP2 Firewall Controller - CodeProject_files/WinXPSP2Firewall.jpg" width="434"></p>
<h2>Introduction</h2>
<p>Windows XP SP2 basically has a small <span class="search-highlight">firewall</span>. It's very easy to control, but sometimes it bothers you. When your application tries to connect to the internet, Windows shows a warning message-box, and this makes users feel your application is an Ad-Ware.</p>
<p>To prevent such things, I suggest you add your program to a <span class="search-highlight">Firewall</span> Collection List. (This list contains the allowed programs.)</p>
<p>This wrapper class is very easy, simple, and useful. You don't need to see this 'Security Alert' message box any more:</p>
<p><img height="243" alt="Sample Image - Windows Firewall Security Alert Message Box" src="./Windows XP SP2 Firewall Controller - CodeProject_files/FireWall_Alert.jpg" width="431"></p>
<h2>Implementation - C++</h2>
<p>It's very easy. Just connect to the Windows XP <span class="search-highlight">Firewall</span> as a COM, and do what you want.</p><div class="pre-action-link" id="premain0" width="100%" style="display:block"><img id="preimg0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/minus.gif" style="cursor: pointer; " height="9" width="9" preid="0"><span id="precollapse0" style="cursor: pointer; margin-bottom: 0px; " preid="0"> Collapse</span><span> | </span><a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" preid="0">Copy Code</a></div><pre id="pre0" style="margin-top: 0px; ">FW_ERROR_CODE WinXPSP2<span class="search-highlight">FireWall</span>::Initialize()
{
 HRESULT hr = S_FALSE;
 INetFwMgr* fwMgr = NULL;
 INetFwPolicy* fwPolicy = NULL;

 FW_ERROR_CODE ret = FW_NOERROR;
 <span class="code-keyword">try</span>
 {
  <span class="code-keyword">if</span>( m_p<span class="search-highlight">FireWall</span>Profile )
   <span class="code-keyword">throw</span> FW_ERR_INITIALIZED;
  <span class="code-comment">/*</span><span class="code-comment"> Create an instance of the <span class="search-highlight">firewall</span> settings manager. */</span>
  hr = CoCreateInstance( __uuidof(NetFwMgr), NULL, 
         CLSCTX_INPROC_SERVER, __uuidof( INetFwMgr), (void**)&amp;fwMgr );
  <span class="code-keyword">if</span>( FAILED( hr ))
   <span class="code-keyword">throw</span> FW_ERR_CREATE_SETTING_MANAGER;
  <span class="code-comment">/*</span><span class="code-comment"> Retrieve the local <span class="search-highlight">firewall</span> policy. */</span>
  hr = fwMgr-&gt;get_LocalPolicy( &amp;fwPolicy );
  <span class="code-keyword">if</span>( FAILED( hr ))
   <span class="code-keyword">throw</span> FW_ERR_LOCAL_POLICY;
  <span class="code-comment">/*</span><span class="code-comment"> Retrieve the <span class="search-highlight">firewall</span> profile currently in effect */</span>

  hr = fwPolicy-&gt;get_CurrentProfile( &amp;m_p<span class="search-highlight">FireWall</span>Profile );
  <span class="code-keyword">if</span>( FAILED( hr ))
   <span class="code-keyword">throw</span> FW_ERR_PROFILE;
 }
 <span class="code-keyword">catch</span>( FW_ERROR_CODE nError)
 {
  ret = nError;
 }
 <span class="code-keyword">if</span>( fwPolicy )
  fwPolicy-&gt;Release();
 <span class="code-keyword">if</span>( fwMgr )
  fwMgr-&gt;Release();
 <span class="code-keyword">return</span> ret;
}</pre>
<h2>How to Use in C++</h2>
<p>It's very easy to use. Just make an instance, and call <code>Initialize()</code>. Ensure that you call the <code>Initialize()</code> function after calling <code>CoInitialize()</code>. You can call <code>Uninitialize()</code> by yourself, but the destructor calls the function too. Also, you should know that you must let <code>Uninitialize()</code> be called before <code>CoUninitialize()</code> is called.</p><div class="pre-action-link" id="premain1" width="100%" style="display:block"><img id="preimg1" src="./Windows XP SP2 Firewall Controller - CodeProject_files/minus.gif" style="cursor: pointer; " height="9" width="9" preid="1"><span id="precollapse1" style="cursor: pointer; margin-bottom: 0px; " preid="1"> Collapse</span><span> | </span><a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" preid="1">Copy Code</a></div><pre id="pre1" style="margin-top: 0px; ">{
 WinXPSP2<span class="search-highlight">FireWall</span> fw;
 fw.Initialize();
 wchar_t szApplication[MAX_PATH];
 GetCurrentDirectoryW( MAX_PATH, szApplication );

#ifdef _DEBUG

  wcscat(szApplication, L<span class="code-string">"</span><span class="code-string">file://Debug//Windows<span class="search-highlight">Firewall</span>.exe"</span>);
<span class="code-preprocessor">#else</span>
 wcscat( szApplication, L<span class="code-string">"</span><span class="code-string">file://Release//Windows<span class="search-highlight">Firewall</span>.exe"</span>);
<span class="code-preprocessor">#endif</span>

 fw.AddApplication( szApplication, L<span class="code-string">"</span><span class="code-string"><span class="search-highlight">FireWall</span>Test"</span>);
 fw.RemoveApplication( szApplication );
 fw.AddPort( <span class="code-digit">4321</span>, NET_FW_IP_PROTOCOL_TCP, L<span class="code-string">"</span><span class="code-string"><span class="search-highlight">FireWall</span>PortTest"</span> );
 fw.RemovePort( <span class="code-digit">4321</span>, NET_FW_IP_PROTOCOL_TCP );
 fw.Uninitialize();
}</pre>
<h2>How to Use in C#</h2>
<p>Usage in C# is very similar to that in C++. But it doesn't require APIs for COM interfaces, this makes it easier to implement this in C# than C++. Allocate an instance of the <code>WinXPSP2<span class="search-highlight">FireWall</span></code>, and call <code>Initialize()</code> first. And then use the methods you want. That's all! :)</p><div class="pre-action-link" id="premain2" width="100%" style="display:block"><img id="preimg2" src="./Windows XP SP2 Firewall Controller - CodeProject_files/minus.gif" style="cursor: pointer; " height="9" width="9" preid="2"><span id="precollapse2" style="cursor: pointer; margin-bottom: 0px; " preid="2"> Collapse</span><span> | </span><a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" preid="2">Copy Code</a></div><pre lang="cs" id="pre2" style="margin-top: 0px; ">Moah.WinXPSP2<span class="search-highlight">FireWall</span> fw = <span class="code-keyword">new</span> Moah.WinXPSP2<span class="search-highlight">FireWall</span>();
fw.Initialize();

<span class="code-keyword">string</span> strApplication = System.Environment.CurrentDirectory + 
                        <span class="code-string">"</span><span class="code-string">\\Windows<span class="search-highlight">Firewall</span>.exe"</span>;
fw.AddApplication(strApplication, <span class="code-string">"</span><span class="code-string"><span class="search-highlight">FireWall</span>Test"</span>);
fw.RemoveApplication(strApplication);

fw.AddPort(<span class="code-digit">4321</span>, NET_FW_IP_PROTOCOL_.NET_FW_IP_PROTOCOL_TCP, 
           <span class="code-string">"</span><span class="code-string"><span class="search-highlight">FireWall</span>PortTest"</span>);
fw.RemovePort(<span class="code-digit">4321</span>, NET_FW_IP_PROTOCOL_.NET_FW_IP_PROTOCOL_TCP);</pre>
<h2>Acknowledgment for C++</h2>
<p>You need four files to compile this project: <i>netfw.h</i>, <i>netfw.idl</i>, <i>icftypes.h</i>, and <i>icftypes.idl</i>. You can get those files from the <a href="http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm" target="_blank">Windows XP SP2 PSDK</a>. Or I have included the files in the downloads. You can just use them, instead of downloading and installing the SDK.</p>
<h2>Acknowledgment for C#</h2>
<p>If you have errors with NetFwTypeLib, add a reference to <i>hnetcfg.dll</i>. You can do that through "Project -&gt; Add Reference... -&gt; Browse" in Visual Studio, and the DLL file is usually located in "<i>C:\Windows\System32\hnetcfg.dll</i>".</p>
<h2>History</h2>
<ul>
<li>6, Jul. 2005 
<ul>
<li>First release. </li></ul>
</li><li>10, Jul. 2006 
<ul>
<li>Added a C# version of the Windows XP SP2 <span class="search-highlight">Firewall</span> Controller. </li></ul></li></ul>


						</div>
						<!-- Article Text End -->

						
						
						<h2>License</h2>
						<div id="LicenseTerms"><p>This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.</p><p>A list of licenses authors might use can be found <a href="http://www.codeproject.com/info/Licenses.aspx">here</a></p></div>
						

						
						<h2 id="ctl00_AboutHeading">About the Author</h2>

						<div class="float-right">
						<div class="lqm_ad" lqm_publisher="lqm.codeproject.site" lqm_zone="ros" lqm_format="300x250" lqm_loadonview="true" lqm_tags="VC7.1, WinXP, VS.NET2003, C#, .NET, Dev, COM, Intermediate,rating4.5"></div>
						</div>

						
						
<table cellpadding="0" cellspacing="5" border="0">
<tbody><tr valign="top">
<td id="ctl00_AboutAuthorRptr_ctl00_AboutAuthor_memberPhotoTable" valign="top" style="width:155px;">
	<b><a id="ctl00_AboutAuthorRptr_ctl00_AboutAuthor_memberProfileLink" href="http://www.codeproject.com/Members/moah">moah</a></b><br><br>
	<center><img id="ctl00_AboutAuthorRptr_ctl00_AboutAuthor_memberPhoto" src="./Windows XP SP2 Firewall Controller - CodeProject_files/{1BE81CC3-CD5E-4332-8B59-6ED0DBFBE228}.jpg" style="border-width:0px;"></center>

	<div class="small-text">
		<span id="ctl00_AboutAuthorRptr_ctl00_AboutAuthor_memberJobTitle">Web Developer</span><br>
		<span id="ctl00_AboutAuthorRptr_ctl00_AboutAuthor_memberCompany"></span><br>
		<span id="ctl00_AboutAuthorRptr_ctl00_AboutAuthor_memberLocation"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/KR.gif" alt="Korea (Republic Of)" width="16px" height="11px"> Korea (Republic Of)</span><br>
		<br>
		<span id="ctl00_AboutAuthorRptr_ctl00_AboutAuthor_memberType">Member</span><br>
		
		<br>

		
	</div>
</td>

<td>
	Youngjin Kim lives in South Korea. I'm interested in every part of Computer Science, cause it has not been long time since graduate a University.<br>
  But now I'm working and researching on Pattern Recognition. Using that trying to recognize a Handwriting Prints. Korean and Chinese are my interesting Research Part.<br>	
</td>
</tr>
</tbody></table><br>
						
						

						<div class="clearfix"></div>

						
						<div id="ctl00_RateArticleRow" class="clearfix voting-bar">
						<div class="float-left" style="padding-top:8px"><a class="anchorLink" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#_articleTop">Article Top</a></div>
						<div class="float-right"><a id="_rating" name="_rating">&nbsp;</a></div> 
						<div class="float-right align-right">
							<div id="ctl00_RateArticle_RateItemWrapper" class="small-text" name="RateItem_10911">

	<table width="100%" cellpadding="0" cellspacing="0" class="small-text">
	<tbody><tr>
		<td id="ctl00_RateArticle_VoteResultDiv" nowrap="nowrap" align="right">
			<span class="voteRes"></span>
			<img class="loaderImg" width="16px" alt="loading..." height="16px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/animated_loading_blue.gif" style="display:none;"> 
		</td>

	
		<td class="voteTbl" style="white-space:nowrap" align="right">
			<table class="small-text">
			<tbody><tr>
				
				<td id="ctl00_RateArticle_RateText" class="rating-prompt">
					Rate this:
				</td>

				<td id="ctl00_RateArticle_StartForm" align="right" nowrap="nowrap">
					<i>&nbsp;&nbsp;Poor</i>
				</td>

				<td id="ctl00_RateArticle_VoteFormDiv" class="nowrap">
					

					<span id="ctl00_RateArticle_RB" class="tooltip ajaxHist radio voting">
						<span id="ctl00_RateArticle_VoteRBL"><input id="ctl00_RateArticle_VoteRBL_0" type="radio" name="ctl00$RateArticle$VoteRBL" value="1" onclick="ChkRtctl00_RateArticle(1, 10911);
$(&#39;#ctl00_RateArticle_RCD&#39;).show();
;"><input id="ctl00_RateArticle_VoteRBL_1" type="radio" name="ctl00$RateArticle$VoteRBL" value="2" onclick="ChkRtctl00_RateArticle(2, 10911);
$(&#39;#ctl00_RateArticle_RCD&#39;).show();
;"><input id="ctl00_RateArticle_VoteRBL_2" type="radio" name="ctl00$RateArticle$VoteRBL" value="3" onclick="ChkRtctl00_RateArticle(3, 10911);
$(&#39;#ctl00_RateArticle_RCD&#39;).show();
;"><input id="ctl00_RateArticle_VoteRBL_3" type="radio" name="ctl00$RateArticle$VoteRBL" value="4" onclick="ChkRtctl00_RateArticle(4, 10911);
$(&#39;#ctl00_RateArticle_RCD&#39;).show();
;"><input id="ctl00_RateArticle_VoteRBL_4" type="radio" name="ctl00$RateArticle$VoteRBL" value="5" onclick="ChkRtctl00_RateArticle(5, 10911);
$(&#39;#ctl00_RateArticle_RCD&#39;).show();
;"></span> 

						
					</span>

				</td>

				<td id="ctl00_RateArticle_EndForm" align="left">
					<i>Excellent</i>
				</td>

				<td>	
					<input type="submit" name="ctl00$RateArticle$SubmitRateBtn" value="Vote" onclick="return PostBack_ctl00_RateArticle_RateItemWrapper();" id="ctl00_RateArticle_SubmitRateBtn" class="button">
				</td>
			</tr>
			</tbody></table>
			<span id="ctl00_RateArticle_ErrorMessage" class="error"></span>
		</td>
	</tr>
	</tbody></table>
	<div class="hover-container">
		<div id="ctl00_RateArticle_RCD" class="rating-comment align-left float-right">
			Add a reason or comment to your vote: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" id="clear-rate_ctl00_RateArticle_RCD" title="close">x</a><br>
			<textarea class="RateComment" rows="5" cols="60" style="width:98%;"></textarea>
			<span id="ctl00_RateArticle_CommentReq" class="subdue">Votes of 3 or less require a comment</span>
		</div>
	</div>
</div>
						</div>
						</div>
						

					</form>

					
					<div style="margin:auto;width:728px;height:90px;margin-top:10px">		  
						<div class="lqm_ad" lqm_publisher="lqm.codeproject.site" lqm_zone="bottom" lqm_format="728x90" lqm_loadonview="true" lqm_tags="VC7.1, WinXP, VS.NET2003, C#, .NET, Dev, COM, Intermediate,pos_bottom"></div>
					</div>
					

					
					
					<h2>Comments and Discussions</h2>
					<a name="_comments" id="_comments">&nbsp;</a><div id="_MessageBoardctl00_MessageBoard" onclick="return SwitchMessage(event, null)">
	<table id="ForumTable" class="box forum" cellpadding="0" cellspacing="0">
		<tbody><tr>
			<td><table width="100%" border="0" cellpadding="3px" cellspacing="0">
				<tbody><tr class="forum-header1">
					<td colspan="2" style="white-space:nowrap;"><div class="container">
						<div class="button-newmsg float-left" onclick="FireNew(this)">
							<img src="./Windows XP SP2 Firewall Controller - CodeProject_files/forum_newmsg.gif" alt="new" width="16px" height="16px" border="0" align="top"> <a href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller" name="Frm_HoverNL" title="Add a Add a Comment or Question" target="_top"><b>Add a Comment or Question</b></a>
						</div>&nbsp;<div class="float-right">
							<form action="http://www.codeproject.com/Search.aspx?fid=0" method="get" class="tight">
								<input type="hidden" name="fid" value="196044"><b>Search this forum </b><input type="text" class="Frm_Input" name="qf" style="width:200px;">&nbsp;<input type="submit" value="Go" class="button">
							</form>
						</div>
					</div></td></tr><tr class="forum-header2">
						<td style="white-space:nowrap;">&nbsp;<a href="http://www.codeproject.com/KB/FAQs/MessageBoardsFAQ.aspx"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_question.gif" title="FAQ" alt="FAQ" style="border-width:0;width:16px;height:16px;vertical-align:middle;"></a></td><td style="width:100%;"><div style="text-align:right;">
							<form action="http://www.codeproject.com/script/Forums/SetOptions.aspx?floc=%2fArticles%2f10911%2fWindows-XP-SP2-Firewall-Controller&fid=196044&df=90&mpp=25&noise=3&prof=False&sort=Position&view=Quick" method="get" style="margin:0;padding:0;">
								<input type="hidden" name="fid" value="196044"><input type="hidden" name="currentQS" value="?floc=%2fArticles%2f10911%2fWindows-XP-SP2-Firewall-Controller&amp;fid=196044&amp;df=90&amp;mpp=25&amp;noise=3&amp;prof=False&amp;sort=Position&amp;view=Quick"><input type="hidden" name="floc" value="/Articles/10911/Windows-XP-SP2-Firewall-Controller"><input type="checkbox" name="prof" id="prof" style="vertical-align:middle;"><label for="prof">Profile popups</label>&nbsp;&nbsp;&nbsp;&nbsp;Noise<select size="1" class="Frm_DropDown" name="noise">
									<option value="1">Very High</option><option value="2">High</option><option selected="" value="3">Medium</option><option value="4">Low</option><option value="5">Very Low</option>
								</select>&nbsp;&nbsp;Layout<select size="1" class="Frm_DropDown" name="view">
									<option selected="" value="Quick">Normal</option><option value="Topic">Expand Posts only</option><option value="Expanded">Expand Posts &amp; Replies</option><option value="Thread">Thread View</option><option value="Normal">No Javascript</option><option value="Preview">No JS + Preview</option>
								</select>&nbsp;&nbsp;Per page<select size="1" class="Frm_DropDown" name="mpp">
									<option value="10">10</option><option selected="" value="25">25</option><option value="50">50</option>
								</select>&nbsp;&nbsp;&nbsp;<input type="submit" value="Update" name="SetOpt" class="button">
							</form>
						</div></td>
					</tr>
				
			</tbody></table></td></tr><tr>
				<td><a name="xx0xx"></a><table border="0" cellpadding="2px" cellspacing="0" width="100%">
					<tbody><tr class="forum-navbar">
						<td>&nbsp;</td><td style="text-align:right;width:50%;"> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&noise=3&prof=False&sort=Position&view=Quick">Refresh</a></td><td class="nav-link" style="text-align:right;white-space:nowrap;"><span class="subdue">First</span> <span class="subdue">Prev</span><a class="toolbar" name="Frm_HoverNL" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&noise=3&prof=False&sort=Position&view=Quick&fr=26#xx0xx">Next</a></td>
					</tr>
				</tbody></table></td>
			</tr><tr>
				<td><table border="0" cellpadding="0" cellspacing="0" width="100%" class="fixed-layout blank-background">
					<tbody><tr>
						<td><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="5px" alt=""></td>
					</tr><tr class="MsgHd LoVote Rt HdUnSel " id="F2712305_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx2712305xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_question(1).gif" alt="Question"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="2712305" parent="0" thread="2712305" href="http://www.codeproject.com/Messages/2712305/how-to-run-this-source-code.aspx">how to run this source code</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=3958312">Member 3958312</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">4:24 7 Sep '08 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F2712305_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="16px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">i am sorry may be this question would be so stupid for you people but i am running this source code for the first time ever and i dont know where to copy WinXPSP2FireWall.cpp ,WinXPSP2FireWall.cs and WinXPSP2FireWall.h and how to run this project is there any tutorial for running this source code<br>
thanx looking for your favor<br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=2712305&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=2712305&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=2712305" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/2712305/how-to-run-this-source-code.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=2712305&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=2712305&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF2712305" style="white-space:nowrap;">1.50/5 (3 votes) <script type="text/javascript">
													MsgVFrm(3958312,2712305,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2712305xx" onclick="RateMsg(3958312, 2712305,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2712305xx" title="vote this message a 1" onclick="RateMsg(3958312, 2712305, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2712305xx" title="vote this message a 2" onclick="RateMsg(3958312, 2712305, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2712305xx" title="vote this message a 3" onclick="RateMsg(3958312, 2712305, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2712305xx" title="vote this message a 4" onclick="RateMsg(3958312, 2712305, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2712305xx" title="vote this message a 5" onclick="RateMsg(3958312, 2712305, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2712305xx" onclick="RateMsg(3958312, 2712305,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd Rt HdUnSel " id="F2705205_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx2705205xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_question(1).gif" alt="Question"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="2705205" parent="0" thread="2705205" href="http://www.codeproject.com/Messages/2705205/How-to-add-Windws-Service-Exception.aspx">How to add Windws Service Exception???</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=4495023">erickbp21</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">14:20 2 Sep '08 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F2705205_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="16px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">Hi<br>
&nbsp;<br>
Good article.<br>
&nbsp;<br>
I have a question.<br>
&nbsp;<br>
How can I get an instance of a class that implement the interface INetFwService ?<br>
&nbsp;<br>
I use XP SP2<br>
&nbsp;<br>
You wrote this for an application exception. I could do the same for a service but I need the GUID<br>
&nbsp;<br>
<br>
Type typeFwService = Type.GetTypeFromCLSID(new Guid("{}"));<br>
&nbsp;<br>
INetFwService FWService = (INetFwService)Activator.CreateInstance(typeFwService);<br>
&nbsp;<br>
Thanks in advanced,<br>
&nbsp;<br>
Erick<br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=2705205&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=2705205&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=2705205" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/2705205/How-to-add-Windws-Service-Exception.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=2705205&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=2705205&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF2705205" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(4495023,2705205,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2705205xx" onclick="RateMsg(4495023, 2705205,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2705205xx" title="vote this message a 1" onclick="RateMsg(4495023, 2705205, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2705205xx" title="vote this message a 2" onclick="RateMsg(4495023, 2705205, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2705205xx" title="vote this message a 3" onclick="RateMsg(4495023, 2705205, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2705205xx" title="vote this message a 4" onclick="RateMsg(4495023, 2705205, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2705205xx" title="vote this message a 5" onclick="RateMsg(4495023, 2705205, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2705205xx" onclick="RateMsg(4495023, 2705205,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd Rt HdUnSel " id="F1962589_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx1962589xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1962589" parent="0" thread="1962589" href="http://www.codeproject.com/Messages/1962589/bug-under-Vista.aspx">bug under Vista</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=167078">noelhx</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">23:55 27 Mar '07 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1962589_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="16px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">If the Windows Firewall service in Vista is not running, an exception will occur at<br>
&nbsp;<br>
WinXPSP2Firewall.cs:<br>
&nbsp;<br>
public FW_ERROR_CODE Initialize()<br>
...<br>
...<br>
fwMgr = (INetFwMgr)Activator.CreateInstance(typFwMgr);<br>
...<br>
...<br>
&nbsp;<br>
Should you just wrap in a try/catch block?<br>
&nbsp;<br>
Thanks! <br>
&nbsp;<br>
<div class="ForumSig">Noël Henderson</div><br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1962589&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1962589&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1962589" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1962589/bug-under-Vista.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1962589&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1962589&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1962589" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(167078,1962589,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1962589xx" onclick="RateMsg(167078, 1962589,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1962589xx" title="vote this message a 1" onclick="RateMsg(167078, 1962589, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1962589xx" title="vote this message a 2" onclick="RateMsg(167078, 1962589, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1962589xx" title="vote this message a 3" onclick="RateMsg(167078, 1962589, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1962589xx" title="vote this message a 4" onclick="RateMsg(167078, 1962589, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1962589xx" title="vote this message a 5" onclick="RateMsg(167078, 1962589, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1962589xx" onclick="RateMsg(167078, 1962589,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd LoVote Rt HdUnSel " id="F1820862_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx1820862xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_question(1).gif" alt="Question"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1820862" parent="0" thread="1820862" href="http://www.codeproject.com/Messages/1820862/XP-firewall-gets-automatically-DISABLED-when-using.aspx">XP firewall gets automatically DISABLED when using this??</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=2710077">Orion Richardson2</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">9:28 28 Dec '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1820862_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="16px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">Great code example!<br>
&nbsp;<br>
I've been trying to use this code in a program to register two ports with the firewall.  I've been getting some weird behavior, though, where the firewall gets automatically DISABLED when I use these classes.  It happens on install and the user then has to go back and manually re-enable the firewall.  Is that expected behavior?  Has anybody else seen it?<br>
&nbsp;<br>
I definitely don't want our product to be labeled spyware, so I'm concerned about this.<br>
&nbsp;<br>
Thanks for any help people can provide!<br>
 <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1820862&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1820862&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1820862" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1820862/XP-firewall-gets-automatically-DISABLED-when-using.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1820862&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1820862&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1820862" style="white-space:nowrap;">2.00/5 (1 vote) <script type="text/javascript">
													MsgVFrm(2710077,1820862,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1820862xx" onclick="RateMsg(2710077, 1820862,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1820862xx" title="vote this message a 1" onclick="RateMsg(2710077, 1820862, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1820862xx" title="vote this message a 2" onclick="RateMsg(2710077, 1820862, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1820862xx" title="vote this message a 3" onclick="RateMsg(2710077, 1820862, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1820862xx" title="vote this message a 4" onclick="RateMsg(2710077, 1820862, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1820862xx" title="vote this message a 5" onclick="RateMsg(2710077, 1820862, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1820862xx" onclick="RateMsg(2710077, 1820862,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd LoVote HdUnSel " id="F1820960_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="34px" class="Frm_MsgIndent"><a name="xx1820960xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_answer.gif" alt="Answer"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1820960" parent="1820862" thread="1820862" href="http://www.codeproject.com/Messages/1820960/Re-XP-firewall-gets-automatically-DISABLED-when-us.aspx">Re: XP firewall gets automatically DISABLED when using this??</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=78882">moah</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">11:02 28 Dec '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1820960_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:34px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="34px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">Hi Orion.<br>
&nbsp;<br>
Unfortunately, I have not experienced such unexpected behavior.<br>
Now I have tested several cases and it works well.<br>
&nbsp;<br>
Can you share your test case with us? <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1820960&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1820960&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1820862" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1820960/Re-XP-firewall-gets-automatically-DISABLED-when-us.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1820960&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1820960&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1820960" style="white-space:nowrap;">1.00/5 (1 vote) <script type="text/javascript">
													MsgVFrm(78882,1820960,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1820960xx" onclick="RateMsg(78882, 1820960,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1820960xx" title="vote this message a 1" onclick="RateMsg(78882, 1820960, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1820960xx" title="vote this message a 2" onclick="RateMsg(78882, 1820960, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1820960xx" title="vote this message a 3" onclick="RateMsg(78882, 1820960, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1820960xx" title="vote this message a 4" onclick="RateMsg(78882, 1820960, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1820960xx" title="vote this message a 5" onclick="RateMsg(78882, 1820960, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1820960xx" onclick="RateMsg(78882, 1820960,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd LoVote HdUnSel " id="F1882799_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="52px" class="Frm_MsgIndent"><a name="xx1882799xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_answer.gif" alt="Answer"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1882799" parent="1820960" thread="1820862" href="http://www.codeproject.com/Messages/1882799/Re-XP-firewall-gets-automatically-DISABLED-when-us.aspx">Re: XP firewall gets automatically DISABLED when using this??</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=2710077">Orion Richardson2</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">13:49 7 Feb '07 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1882799_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:52px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="52px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">Hi moah,<br>
&nbsp;<br>
You are correct - this was not the source of my problems and apologies for my guessing that it was.  Your code has worked wonderfully.<br>
&nbsp;<br>
For future reference, the issue arose when we created a listening socket during our main form's Shown() function.  We also have our application start at Windows startup (configurable by the user) and it seems like if you do this the socket starts listening before the Windows firewall starts running (or the exceptions list gets loaded?), so you get a complaint from Windows.  We solved this problem by queuing a worker thread that in turn started the socket listening.<br>
&nbsp;<br>
Thanks again for the great code examples!  I love code project. <img src="./Windows XP SP2 Firewall Controller - CodeProject_files/smiley_smile.gif" align="top" alt="Smile | :)">   Can't wait to share some of my snippets on here in the near future.<br>
&nbsp;<br>
 <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1882799&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1882799&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1820862" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1882799/Re-XP-firewall-gets-automatically-DISABLED-when-us.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1882799&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1882799&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1882799" style="white-space:nowrap;">2.00/5 (1 vote) <script type="text/javascript">
													MsgVFrm(2710077,1882799,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1882799xx" onclick="RateMsg(2710077, 1882799,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1882799xx" title="vote this message a 1" onclick="RateMsg(2710077, 1882799, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1882799xx" title="vote this message a 2" onclick="RateMsg(2710077, 1882799, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1882799xx" title="vote this message a 3" onclick="RateMsg(2710077, 1882799, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1882799xx" title="vote this message a 4" onclick="RateMsg(2710077, 1882799, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1882799xx" title="vote this message a 5" onclick="RateMsg(2710077, 1882799, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1882799xx" onclick="RateMsg(2710077, 1882799,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd HdUnSel " id="F1893586_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="70px" class="Frm_MsgIndent"><a name="xx1893586xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1893586" parent="1882799" thread="1820862" href="http://www.codeproject.com/Messages/1893586/Re-XP-firewall-gets-automatically-DISABLED-when-us.aspx">Re: XP firewall gets automatically DISABLED when using this??</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=3287723">chinnu_1</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">4:19 14 Feb '07 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1893586_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:70px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="70px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">I am facing some issues in using the XP Firewall API's..in my machine the firewall page is disabled,so the API's are working.But it is not able to change the status of FW..Is there any known issue or resolution for the same? <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1893586&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1893586&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1820862" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1893586/Re-XP-firewall-gets-automatically-DISABLED-when-us.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1893586&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1893586&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1893586" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(3287723,1893586,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1893586xx" onclick="RateMsg(3287723, 1893586,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1893586xx" title="vote this message a 1" onclick="RateMsg(3287723, 1893586, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1893586xx" title="vote this message a 2" onclick="RateMsg(3287723, 1893586, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1893586xx" title="vote this message a 3" onclick="RateMsg(3287723, 1893586, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1893586xx" title="vote this message a 4" onclick="RateMsg(3287723, 1893586, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1893586xx" title="vote this message a 5" onclick="RateMsg(3287723, 1893586, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1893586xx" onclick="RateMsg(3287723, 1893586,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd HdUnSel " id="F2038210_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="88px" class="Frm_MsgIndent"><a name="xx2038210xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="2038210" parent="1893586" thread="1820862" href="http://www.codeproject.com/Messages/2038210/Re-XP-firewall-gets-automatically-DISABLED-when-us.aspx">Re: XP firewall gets automatically DISABLED when using this??</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=4027885">el delo</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">17:52 15 May '07 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F2038210_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:88px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="88px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">Just a thought, but I believe the MS Firewall can also be controlled (or at least it's state interrogatged) by/according-to Group Policy.<br>
&nbsp;<br>
Assuming that's the case, then even a Local Admin might not be able to muck with the Firewall if the Group Policies preclude it.<br>
&nbsp;<br>
As I said, I don't know this as fact and am not asserting it to be true, just proposing the thought as one scenario/hypothesis.<br>
&nbsp;<br>
I know that at a certain very large SW company the net nannies would detect the FW being off or having certain ports/exceptions opened (and a laundry list of other settings etc), then generated nag-ware and nag-mail based on that. At some point they'd also simply boot ones' machine off the network.<br>
&nbsp;<br>
BTW, very nice work!!!<br>
&nbsp;<br>
- Lance <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=2038210&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=2038210&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1820862" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/2038210/Re-XP-firewall-gets-automatically-DISABLED-when-us.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=2038210&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=2038210&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF2038210" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(4027885,2038210,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2038210xx" onclick="RateMsg(4027885, 2038210,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2038210xx" title="vote this message a 1" onclick="RateMsg(4027885, 2038210, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2038210xx" title="vote this message a 2" onclick="RateMsg(4027885, 2038210, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2038210xx" title="vote this message a 3" onclick="RateMsg(4027885, 2038210, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2038210xx" title="vote this message a 4" onclick="RateMsg(4027885, 2038210, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2038210xx" title="vote this message a 5" onclick="RateMsg(4027885, 2038210, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx2038210xx" onclick="RateMsg(4027885, 2038210,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd Rt HdUnSel " id="F1675976_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx1675976xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_question(1).gif" alt="Question"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1675976" parent="0" thread="1675976" href="http://www.codeproject.com/Messages/1675976/Does-this-work-on-Vista.aspx">Does this work on Vista?</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=172936">thomastom</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">16:00 19 Sep '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1675976_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="16px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">THX <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1675976&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1675976&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1675976" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1675976/Does-this-work-on-Vista.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1675976&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1675976&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1675976" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(172936,1675976,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1675976xx" onclick="RateMsg(172936, 1675976,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1675976xx" title="vote this message a 1" onclick="RateMsg(172936, 1675976, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1675976xx" title="vote this message a 2" onclick="RateMsg(172936, 1675976, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1675976xx" title="vote this message a 3" onclick="RateMsg(172936, 1675976, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1675976xx" title="vote this message a 4" onclick="RateMsg(172936, 1675976, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1675976xx" title="vote this message a 5" onclick="RateMsg(172936, 1675976, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1675976xx" onclick="RateMsg(172936, 1675976,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd LoVote HdUnSel " id="F1676190_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="34px" class="Frm_MsgIndent"><a name="xx1676190xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_answer.gif" alt="Answer"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1676190" parent="1675976" thread="1675976" href="http://www.codeproject.com/Messages/1676190/Re-Does-this-work-on-Vista.aspx">Re: Does this work on Vista?</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=172936">thomastom</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">19:02 19 Sep '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1676190_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:34px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="34px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">I did some additional testing on Vista RC1 and have found that it does not work.<br>
&nbsp;<br>
It returns FW_ERR_SAME_PORT_EXIST even though it does not exist.<br>
&nbsp;<br>
Runing with admin priveleges.  User Access control is disabled.<br>
&nbsp;<br>
Any assistance would be great. <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1676190&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1676190&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1675976" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1676190/Re-Does-this-work-on-Vista.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1676190&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1676190&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1676190" style="white-space:nowrap;">2.00/5 (1 vote) <script type="text/javascript">
													MsgVFrm(172936,1676190,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1676190xx" onclick="RateMsg(172936, 1676190,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1676190xx" title="vote this message a 1" onclick="RateMsg(172936, 1676190, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1676190xx" title="vote this message a 2" onclick="RateMsg(172936, 1676190, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1676190xx" title="vote this message a 3" onclick="RateMsg(172936, 1676190, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1676190xx" title="vote this message a 4" onclick="RateMsg(172936, 1676190, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1676190xx" title="vote this message a 5" onclick="RateMsg(172936, 1676190, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1676190xx" onclick="RateMsg(172936, 1676190,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd HdUnSel " id="F1677439_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="52px" class="Frm_MsgIndent"><a name="xx1677439xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1677439" parent="1676190" thread="1675976" href="http://www.codeproject.com/Messages/1677439/Re-Does-this-work-on-Vista.aspx">Re: Does this work on Vista?</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=78882">moah</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">10:45 20 Sep '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1677439_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:52px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="52px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">First of all, unfortunately, I don't have any Windows Vista installed systems.<br>
Is there any body who have installed Windows Vista and try to debug it?<br>
&nbsp;<br>
I would appreciate any help. <img src="./Windows XP SP2 Firewall Controller - CodeProject_files/smiley_smile.gif" align="top" alt="Smile | :)">  <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1677439&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1677439&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1675976" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1677439/Re-Does-this-work-on-Vista.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1677439&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1677439&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1677439" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(78882,1677439,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1677439xx" onclick="RateMsg(78882, 1677439,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1677439xx" title="vote this message a 1" onclick="RateMsg(78882, 1677439, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1677439xx" title="vote this message a 2" onclick="RateMsg(78882, 1677439, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1677439xx" title="vote this message a 3" onclick="RateMsg(78882, 1677439, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1677439xx" title="vote this message a 4" onclick="RateMsg(78882, 1677439, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1677439xx" title="vote this message a 5" onclick="RateMsg(78882, 1677439, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1677439xx" onclick="RateMsg(78882, 1677439,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd HdUnSel " id="F1821314_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="34px" class="Frm_MsgIndent"><a name="xx1821314xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_answer.gif" alt="Answer"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1821314" parent="1675976" thread="1675976" href="http://www.codeproject.com/Messages/1821314/Re-Does-this-work-on-Vista.aspx">Re: Does this work on Vista?</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=73">Ed Dixon</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">17:50 28 Dec '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1821314_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:34px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="34px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">Seems to work find here in Vista RC2 <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1821314&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1821314&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1675976" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1821314/Re-Does-this-work-on-Vista.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1821314&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1821314&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1821314" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(73,1821314,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1821314xx" onclick="RateMsg(73, 1821314,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1821314xx" title="vote this message a 1" onclick="RateMsg(73, 1821314, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1821314xx" title="vote this message a 2" onclick="RateMsg(73, 1821314, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1821314xx" title="vote this message a 3" onclick="RateMsg(73, 1821314, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1821314xx" title="vote this message a 4" onclick="RateMsg(73, 1821314, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1821314xx" title="vote this message a 5" onclick="RateMsg(73, 1821314, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1821314xx" onclick="RateMsg(73, 1821314,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd Rt HdUnSel " id="F1622035_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx1622035xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1622035" parent="0" thread="1622035" href="http://www.codeproject.com/Messages/1622035/Dont-listen-to-the-complainers.aspx">Don't listen to the complainers</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=4452">TomM</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">16:40 11 Aug '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1622035_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="16px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">I see that there is a thread complaining that you have helped the spyware makers.<br>
&nbsp;<br>
I don't agee with this idea.  It was MS that helped them by designing their firewall this way.  You have educated everyone on the nature of the firewall.  So thank you. <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1622035&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1622035&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1622035" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1622035/Dont-listen-to-the-complainers.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1622035&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1622035&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1622035" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(4452,1622035,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1622035xx" onclick="RateMsg(4452, 1622035,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1622035xx" title="vote this message a 1" onclick="RateMsg(4452, 1622035, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1622035xx" title="vote this message a 2" onclick="RateMsg(4452, 1622035, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1622035xx" title="vote this message a 3" onclick="RateMsg(4452, 1622035, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1622035xx" title="vote this message a 4" onclick="RateMsg(4452, 1622035, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1622035xx" title="vote this message a 5" onclick="RateMsg(4452, 1622035, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1622035xx" onclick="RateMsg(4452, 1622035,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd HdUnSel " id="F1622549_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="34px" class="Frm_MsgIndent"><a name="xx1622549xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1622549" parent="1622035" thread="1622035" href="http://www.codeproject.com/Messages/1622549/Re-Dont-listen-to-the-complainers.aspx">Re: Don't listen to the complainers</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=78882">moah</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">7:37 12 Aug '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1622549_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:34px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="34px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">Hello TomM.<br>
Thank you for your concerning and encouragement.<br>
I fully agree with your thought that it's MS's fault if spyware makers abuse Widnows XP's firewall. <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1622549&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1622549&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1622035" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1622549/Re-Dont-listen-to-the-complainers.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1622549&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1622549&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1622549" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(78882,1622549,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1622549xx" onclick="RateMsg(78882, 1622549,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1622549xx" title="vote this message a 1" onclick="RateMsg(78882, 1622549, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1622549xx" title="vote this message a 2" onclick="RateMsg(78882, 1622549, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1622549xx" title="vote this message a 3" onclick="RateMsg(78882, 1622549, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1622549xx" title="vote this message a 4" onclick="RateMsg(78882, 1622549, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1622549xx" title="vote this message a 5" onclick="RateMsg(78882, 1622549, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1622549xx" onclick="RateMsg(78882, 1622549,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd LoVote Rt HdUnSel " id="F1589994_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx1589994xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_question(1).gif" alt="Question"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1589994" parent="0" thread="1589994" href="http://www.codeproject.com/Messages/1589994/what-if-there-is-no-SP.aspx">what if there is no SP?</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=12948">Mario M.</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">18:35 21 Jul '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1589994_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="16px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">If the user runs the application on a windows without SP2 what happends ?<br>
 <br>
&nbsp;<br>
<div class="ForumSig"></div><br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1589994&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1589994&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1589994" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1589994/what-if-there-is-no-SP.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1589994&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1589994&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1589994" style="white-space:nowrap;">2.00/5 (1 vote) <script type="text/javascript">
													MsgVFrm(12948,1589994,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1589994xx" onclick="RateMsg(12948, 1589994,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1589994xx" title="vote this message a 1" onclick="RateMsg(12948, 1589994, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1589994xx" title="vote this message a 2" onclick="RateMsg(12948, 1589994, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1589994xx" title="vote this message a 3" onclick="RateMsg(12948, 1589994, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1589994xx" title="vote this message a 4" onclick="RateMsg(12948, 1589994, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1589994xx" title="vote this message a 5" onclick="RateMsg(12948, 1589994, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1589994xx" onclick="RateMsg(12948, 1589994,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd HdUnSel " id="F1591502_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="34px" class="Frm_MsgIndent"><a name="xx1591502xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_answer.gif" alt="Answer"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1591502" parent="1589994" thread="1589994" href="http://www.codeproject.com/Messages/1591502/Re-what-if-there-is-no-SP.aspx">Re: what if there is no SP?</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=78882">moah</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">21:05 23 Jul '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1591502_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:34px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="34px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">Unfortunately, I don't have any computers which are installed other windows except Windows XP SP2.<br>
Therefore what I can do is just guessing <img src="./Windows XP SP2 Firewall Controller - CodeProject_files/smiley_smile.gif" align="top" alt="Smile | :)"> <br>
&nbsp;<br>
Other windows wihout SP2 doesn't include Windows Firewall Manager.<br>
So you will see 'FW_ERR_CREATE_SETTING_MANAGER' message when initializing. <br>
&nbsp;<br>
<div class="ForumSig"></div><br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1591502&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1591502&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1589994" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1591502/Re-what-if-there-is-no-SP.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1591502&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1591502&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1591502" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(78882,1591502,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1591502xx" onclick="RateMsg(78882, 1591502,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1591502xx" title="vote this message a 1" onclick="RateMsg(78882, 1591502, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1591502xx" title="vote this message a 2" onclick="RateMsg(78882, 1591502, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1591502xx" title="vote this message a 3" onclick="RateMsg(78882, 1591502, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1591502xx" title="vote this message a 4" onclick="RateMsg(78882, 1591502, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1591502xx" title="vote this message a 5" onclick="RateMsg(78882, 1591502, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1591502xx" onclick="RateMsg(78882, 1591502,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd Rt HdUnSel " id="F1585041_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx1585041xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1585041" parent="0" thread="1585041" href="http://www.codeproject.com/Messages/1585041/Firewall-on-Windows-2000-and-XP-SP1.aspx">Firewall on Windows 2000 and XP SP1</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=1190988">Fornazin</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">9:46 19 Jul '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1585041_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="16px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">Hi,<br>
&nbsp;<br>
Does anybody know if I can use this code for Windows 2000 or XP SP1 or if the firewall is only enabled on Windows XP SP2?<br>
&nbsp;<br>
Thanks<br>
&nbsp;<br>
 <br>
&nbsp;<br>
Marcelo Fornazin<br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1585041&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1585041&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1585041" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1585041/Firewall-on-Windows-2000-and-XP-SP1.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1585041&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1585041&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1585041" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(1190988,1585041,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1585041xx" onclick="RateMsg(1190988, 1585041,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1585041xx" title="vote this message a 1" onclick="RateMsg(1190988, 1585041, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1585041xx" title="vote this message a 2" onclick="RateMsg(1190988, 1585041, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1585041xx" title="vote this message a 3" onclick="RateMsg(1190988, 1585041, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1585041xx" title="vote this message a 4" onclick="RateMsg(1190988, 1585041, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1585041xx" title="vote this message a 5" onclick="RateMsg(1190988, 1585041, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1585041xx" onclick="RateMsg(1190988, 1585041,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd HdUnSel " id="F1586185_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="34px" class="Frm_MsgIndent"><a name="xx1586185xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1586185" parent="1585041" thread="1585041" href="http://www.codeproject.com/Messages/1586185/Re-Firewall-on-Windows-2000-and-XP-SP1.aspx">Re: Firewall on Windows 2000 and XP SP1</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=78882">moah</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">1:22 20 Jul '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1586185_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:34px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="34px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">Hi Fornazin.<br>
This code only targets to a basic firewall which is included on Windows XP SP2.<br>
Therefore it cannot be used on Windows 2000 and XP SP1 or less which do not include the firewall.<br>
&nbsp;<br>
In conclusion,<br>
No, I can't be used on Windows 2000 or XP SP1.<br>
&nbsp;<br>
Sincerely, Moah. <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1586185&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1586185&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1585041" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1586185/Re-Firewall-on-Windows-2000-and-XP-SP1.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1586185&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1586185&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1586185" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(78882,1586185,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1586185xx" onclick="RateMsg(78882, 1586185,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1586185xx" title="vote this message a 1" onclick="RateMsg(78882, 1586185, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1586185xx" title="vote this message a 2" onclick="RateMsg(78882, 1586185, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1586185xx" title="vote this message a 3" onclick="RateMsg(78882, 1586185, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1586185xx" title="vote this message a 4" onclick="RateMsg(78882, 1586185, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1586185xx" title="vote this message a 5" onclick="RateMsg(78882, 1586185, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1586185xx" onclick="RateMsg(78882, 1586185,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd HdUnSel " id="F1758255_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="52px" class="Frm_MsgIndent"><a name="xx1758255xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1758255" parent="1586185" thread="1585041" href="http://www.codeproject.com/Messages/1758255/Re-Firewall-on-Windows-2000-and-XP-SP1.aspx">Re: Firewall on Windows 2000 and XP SP1</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=2204189">padma810</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">4:30 15 Nov '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1758255_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:52px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="52px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">Has anyone got the code which detects whether the firewall is ON on XP SP1<br>
If you have so please pass on that to me. <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1758255&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1758255&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1585041" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1758255/Re-Firewall-on-Windows-2000-and-XP-SP1.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1758255&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1758255&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1758255" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(2204189,1758255,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1758255xx" onclick="RateMsg(2204189, 1758255,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1758255xx" title="vote this message a 1" onclick="RateMsg(2204189, 1758255, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1758255xx" title="vote this message a 2" onclick="RateMsg(2204189, 1758255, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1758255xx" title="vote this message a 3" onclick="RateMsg(2204189, 1758255, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1758255xx" title="vote this message a 4" onclick="RateMsg(2204189, 1758255, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1758255xx" title="vote this message a 5" onclick="RateMsg(2204189, 1758255, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1758255xx" onclick="RateMsg(2204189, 1758255,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd HdUnSel " id="F1758389_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="70px" class="Frm_MsgIndent"><a name="xx1758389xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1758389" parent="1758255" thread="1585041" href="http://www.codeproject.com/Messages/1758389/Re-Firewall-on-Windows-2000-and-XP-SP1.aspx">Re: Firewall on Windows 2000 and XP SP1</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=78882">moah</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">5:49 15 Nov '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1758389_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:70px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="70px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">How about checking a version of running OS?<br>
&nbsp;<br>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/getversionex.asp<br>
 <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1758389&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1758389&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1585041" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1758389/Re-Firewall-on-Windows-2000-and-XP-SP1.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1758389&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1758389&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1758389" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(78882,1758389,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1758389xx" onclick="RateMsg(78882, 1758389,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1758389xx" title="vote this message a 1" onclick="RateMsg(78882, 1758389, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1758389xx" title="vote this message a 2" onclick="RateMsg(78882, 1758389, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1758389xx" title="vote this message a 3" onclick="RateMsg(78882, 1758389, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1758389xx" title="vote this message a 4" onclick="RateMsg(78882, 1758389, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1758389xx" title="vote this message a 5" onclick="RateMsg(78882, 1758389, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1758389xx" onclick="RateMsg(78882, 1758389,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd Rt HdUnSel " id="F1552931_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx1552931xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1552931" parent="0" thread="1552931" href="http://www.codeproject.com/Messages/1552931/About-the-Csharp-version.aspx">About the C# version</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=781367">hdkrus</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">11:07 28 Jun '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1552931_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="16px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">Hi Moah!! nice work, I was interested in the C# version, but I would prefer you consider to publish it ('cause it must be bothersome to send it to everybody ask you), anyway you can send it to hdkrus@gmail.com if you want...THANXS!!!<img src="./Windows XP SP2 Firewall Controller - CodeProject_files/smiley_smile.gif" align="top" alt="Smile | :)">  <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1552931&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1552931&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1552931" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1552931/About-the-Csharp-version.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1552931&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1552931&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1552931" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(781367,1552931,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1552931xx" onclick="RateMsg(781367, 1552931,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1552931xx" title="vote this message a 1" onclick="RateMsg(781367, 1552931, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1552931xx" title="vote this message a 2" onclick="RateMsg(781367, 1552931, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1552931xx" title="vote this message a 3" onclick="RateMsg(781367, 1552931, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1552931xx" title="vote this message a 4" onclick="RateMsg(781367, 1552931, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1552931xx" title="vote this message a 5" onclick="RateMsg(781367, 1552931, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1552931xx" onclick="RateMsg(781367, 1552931,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd HiVote HdUnSel " id="F1555558_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="34px" class="Frm_MsgIndent"><a name="xx1555558xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1555558" parent="1552931" thread="1552931" href="http://www.codeproject.com/Messages/1555558/Re-About-the-Csharp-version.aspx">Re: About the C# version</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=78882">moah</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">20:22 29 Jun '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1555558_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:34px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="34px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">Hi hdkrus~!!<br>
Thanks for your appreciation <img src="./Windows XP SP2 Firewall Controller - CodeProject_files/smiley_smile.gif" align="top" alt="Smile | :)"> <br>
But unfortunately I don't have the C# version and I do not remember about the E-mail that I sent to chul7810 <img src="./Windows XP SP2 Firewall Controller - CodeProject_files/smiley_doh.gif" align="top" alt="D&#39;Oh! | :doh:"> <br>
In fact, it has been only 4 days since I started to study C# <img src="./Windows XP SP2 Firewall Controller - CodeProject_files/smiley_smile.gif" align="top" alt="Smile | :)"> <br>
&nbsp;<br>
I think in a short time, I'll be more familiar to C# and be able to convert this project to C#.<br>
When I do that, I'll call you by E-mail.<br>
&nbsp;<br>
Thanks for your concerning about this project.<br>
Thank you <img src="./Windows XP SP2 Firewall Controller - CodeProject_files/smiley_smile.gif" align="top" alt="Smile | :)">  <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1555558&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1555558&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1552931" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1555558/Re-About-the-Csharp-version.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1555558&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1555558&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1555558" style="white-space:nowrap;">5.00/5 (1 vote) <script type="text/javascript">
													MsgVFrm(78882,1555558,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1555558xx" onclick="RateMsg(78882, 1555558,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1555558xx" title="vote this message a 1" onclick="RateMsg(78882, 1555558, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1555558xx" title="vote this message a 2" onclick="RateMsg(78882, 1555558, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1555558xx" title="vote this message a 3" onclick="RateMsg(78882, 1555558, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1555558xx" title="vote this message a 4" onclick="RateMsg(78882, 1555558, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1555558xx" title="vote this message a 5" onclick="RateMsg(78882, 1555558, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1555558xx" onclick="RateMsg(78882, 1555558,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd HdUnSel " id="F1571702_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="52px" class="Frm_MsgIndent"><a name="xx1571702xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1571702" parent="1555558" thread="1552931" href="http://www.codeproject.com/Messages/1571702/About-the-Csharp-version.aspx">About the C# version</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=781367">hdkrus</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">11:03 11 Jul '06 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1571702_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:52px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="52px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">Hi Moah!!!, Im very glad with your C# version, I just tested in Windows Server 2003 and it works!!!<img src="./Windows XP SP2 Firewall Controller - CodeProject_files/smiley_cool.gif" align="top" alt="Cool | :cool:">  I really appreciate your fast answer and support. Thanxs a lot...<br>
&nbsp;<br>
best regards...R <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1571702&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1571702&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1552931" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1571702/About-the-Csharp-version.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1571702&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1571702&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1571702" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(781367,1571702,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1571702xx" onclick="RateMsg(781367, 1571702,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1571702xx" title="vote this message a 1" onclick="RateMsg(781367, 1571702, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1571702xx" title="vote this message a 2" onclick="RateMsg(781367, 1571702, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1571702xx" title="vote this message a 3" onclick="RateMsg(781367, 1571702, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1571702xx" title="vote this message a 4" onclick="RateMsg(781367, 1571702, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1571702xx" title="vote this message a 5" onclick="RateMsg(781367, 1571702, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1571702xx" onclick="RateMsg(781367, 1571702,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd Rt HdUnSel " id="F1161706_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx1161706xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1161706" parent="0" thread="1161706" href="http://www.codeproject.com/Messages/1161706/I-want-to-use-Windows-XP-SP2-Firewall-Controller-i.aspx">I want to use Windows XP SP2 Firewall Controller in Visual C#</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=1465868">chul7810</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">2:49 13 Jul '05 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1161706_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="16px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">I live in Korea.<br>
&nbsp;<br>
I want to use Windows XP SP2 Firewall Controller in Visual C#.<br>
&nbsp;<br>
<br>
E-Mail : chul7810@hotmail.com <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1161706&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1161706&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1161706" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1161706/I-want-to-use-Windows-XP-SP2-Firewall-Controller-i.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1161706&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1161706&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1161706" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(1465868,1161706,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1161706xx" onclick="RateMsg(1465868, 1161706,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1161706xx" title="vote this message a 1" onclick="RateMsg(1465868, 1161706, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1161706xx" title="vote this message a 2" onclick="RateMsg(1465868, 1161706, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1161706xx" title="vote this message a 3" onclick="RateMsg(1465868, 1161706, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1161706xx" title="vote this message a 4" onclick="RateMsg(1465868, 1161706, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1161706xx" title="vote this message a 5" onclick="RateMsg(1465868, 1161706, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1161706xx" onclick="RateMsg(1465868, 1161706,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="1px" alt=""></td>
					</tr><tr class="MsgHd HdUnSel " id="F1195699_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr class="hover-row">
								<td width="34px" class="Frm_MsgIndent"><a name="xx1195699xx"></a><img height="16px" width="16px" align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" alt="General"></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="1195699" parent="1161706" thread="1161706" href="http://www.codeproject.com/Messages/1195699/Re-I-want-to-use-Windows-XP-SP2-Firewall-Controlle.aspx">Re: I want to use Windows XP SP2 Firewall Controller in Visual C#</a> <a onclick="return Pin(this);" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#" title="Click to pin message"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px"></a></td><td class="Frm_MsgIcon"><img border="0" src="./Windows XP SP2 Firewall Controller - CodeProject_files/icn-member-16.gif" title="member" alt="member" height="16px"></td><td class="Frm_MsgAuthor"><a href="http://www.codeproject.com/script/Membership/View.aspx?mid=78882">moah</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">20:39 15 Aug '05 &nbsp;</td>
							</tr>
						</tbody></table></td>
					</tr><tr id="F1195699_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tbody><tr>
								<td class="Frm_MsgIndent" style="width:34px;"><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" height="1px" width="34px" alt=""></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tbody><tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody><tr>
												<td colspan="2">I replied by private mail to chul7810@hotmail.com <br></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1195699&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=r" title="Reply">Reply</a>·<a class="toolbar" href="http://www.codeproject.com/script/Forums/Edit.aspx?fid=196044&select=1195699&floc=/Articles/10911/Windows-XP-SP2-Firewall-Controller&action=e" title="Email">Email</a>·<a class="toolbar" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&sort=Position&tid=1161706" title="View Thread">View&nbsp;Thread</a>·<a class="toolbar" href="http://www.codeproject.com/Messages/1195699/Re-I-want-to-use-Windows-XP-SP2-Firewall-Controlle.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="http://www.codeproject.com/script/Bookmarks/Add.aspx?obid=1195699&obtid=3&action=AddBookmark&bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=1195699&amp;obtid=3&amp;action=AddBookmark&amp;bio=false&#39;,false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF1195699" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(78882,1195699,false,"","","");
												</script>Rate this message: <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1195699xx" onclick="RateMsg(78882, 1195699,1,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_down.gif" alt="vote 1" border="0" align="middle"></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1195699xx" title="vote this message a 1" onclick="RateMsg(78882, 1195699, 1,0)"><b>1</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1195699xx" title="vote this message a 2" onclick="RateMsg(78882, 1195699, 2,0)"><b>2</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1195699xx" title="vote this message a 3" onclick="RateMsg(78882, 1195699, 3,0)"><b>3</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1195699xx" title="vote this message a 4" onclick="RateMsg(78882, 1195699, 4,0)"><b>4</b></a> <a class="toolbar nav-link" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1195699xx" title="vote this message a 5" onclick="RateMsg(78882, 1195699, 5,0)"><b>5</b></a> <a href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller#xx1195699xx" onclick="RateMsg(78882, 1195699,5,0);"><img height="14px" width="14px" src="./Windows XP SP2 Firewall Controller - CodeProject_files/thumbs_up.gif" border="0" alt="vote 5" align="middle"></a> </span></td>
											</tr>
										</tbody></table></td>
									</tr>
								</tbody></table></td>
							</tr>
						</tbody></table></td>
					</tr><tr>
						<td><img src="./Windows XP SP2 Firewall Controller - CodeProject_files/t(2).gif" border="0" width="1px" height="5px" alt=""></td>
					</tr>
				</tbody></table></td>
			</tr><tr>
				<td><table width="100%" cellpadding="2px" cellspacing="0">
					<tbody><tr class="forum-footer">
						<td>Last Visit: 10:25 25 May '12  &nbsp; &nbsp; Last Update: 23:48 25 May '12 </td><td class="nav-link" style="text-align:right;white-space:nowrap;"><input id="_mbnUrl" type="hidden" value="/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&amp;df=90&amp;mpp=25&amp;noise=3&amp;prof=False&amp;sort=Position&amp;view=Quick&amp;fr=26"><b>1</b><a class="toolbar" name="Frm_HoverNL" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&noise=3&prof=False&sort=Position&view=Quick&fr=26#xx0xx">2</a> <a class="toolbar" name="Frm_HoverNL" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?fid=196044&df=90&mpp=25&noise=3&prof=False&sort=Position&view=Quick&fr=26#xx0xx">Next »</a></td>
					</tr>
				</tbody></table></td>
			</tr>
		
	</tbody></table>
</div><p class="small-text"><img align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_general.gif" width="16px" height="16px" alt="General"> General &nbsp;&nbsp; <img align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_news.gif" width="16px" height="16px" alt="News"> News &nbsp;&nbsp; <img align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_idea.gif" width="16px" height="16px" alt="Suggestion"> Suggestion &nbsp;&nbsp; <img align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_question(1).gif" width="16px" height="16px" alt="Question"> Question &nbsp;&nbsp; <img align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_bug.gif" width="16px" height="16px" alt="Bug"> Bug &nbsp;&nbsp; <img align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_answer.gif" width="16px" height="16px" alt="Answer"> Answer &nbsp;&nbsp; <img align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_joke.gif" width="16px" height="16px" alt="Joke"> Joke &nbsp;&nbsp; <img align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_rant.gif" width="16px" height="16px" alt="Rant"> Rant &nbsp;&nbsp; <img align="top" src="./Windows XP SP2 Firewall Controller - CodeProject_files/msg_admin.gif" width="16px" height="16px" alt="Admin"> Admin &nbsp;&nbsp; </p><p class="small-text">Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.</p>

					
					<div class="theme1-background" style="height:2px"></div>

					<div class="extended tiny-text">
						<div class="row">
							<div class="float-left">
								<a id="ctl00_PermaLink" href="./Windows XP SP2 Firewall Controller - CodeProject_files/Windows XP SP2 Firewall Controller - CodeProject.htm">Permalink</a> | 
								<a id="ctl00_AdvertiseLink" href="http://lakequincy.com/">Advertise </a> |
								<a id="ctl00_PrivacyLink" href="http://www.codeproject.com/info/privacy.aspx">Privacy</a> |
								<a id="ctl00_Mobile" rel="nofollow" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?display=Mobile">Mobile</a>
								<br>
								
								Web01 |
								2.5.120517.1 |
								Last Updated 10 Jul 2006								
							</div>
							<div class="float-right align-right">
								Article Copyright 2005 by moah<br>Everything else
								Copyright © <a href="mailto:webmaster@codeproject.com">CodeProject</a>, 1999-2012 <br>
								<a id="ctl00_TermsOfUseLink" href="http://www.codeproject.com/info/TermsOfUse.aspx">Terms of Use</a>
							</div>

							


<div class="page-width">
Layout: <a id="ctl00_PageWidth_FixedT" title="Fixed width layout" rel="nofollow" class=" active" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?PageFlow=FixedWidth">fixed</a>
|
<a id="ctl00_PageWidth_FluidT" title="Fluid layout" rel="nofollow" href="http://www.codeproject.com/Articles/10911/Windows-XP-SP2-Firewall-Controller?PageFlow=Fluid">fluid</a>
</div>



						</div>
					</div>
					

				<br clear="all">
		
				
				</div>

				<div id="ctl00_ContentSide" class="text-sidebar">
					

					

					

					
<div class="announce">

<div class="announce-content">

<div>Hot News: <a id="ctl00_News_News_ctl01_Link" href="http://www.neowin.net/news/windows-8-boots-too-quickly-first-world-os-problem">Windows 8 boots too quickly, first world OS problem</a></div>

The Code Project Insider. <a id="ctl00_News_News_ctl02_Subscribe" href="http://www.codeproject.com/Feature/Insider/">Free each morning.</a>
</div>
</div>

						
					<div style="width:160px;margin: 10px 0;">
						<div class="lqm_ad" lqm_publisher="lqm.codeproject.site" lqm_zone="ros" lqm_format="160x600" lqm_tags="VC7.1, WinXP, VS.NET2003, C#, .NET, Dev, COM, Intermediate,rating4.5"><iframe id="lqmad4" width="160" height="600" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe></div>
					</div>

					
	<div class="announce">
	<div id="ctl00_RelatedArticles_RelatedResults_ctl00_header" class="announce-header">Related Articles</div>
	<div class="announce-content">	
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl01_Link" class="title" href="http://www.codeproject.com/KB/showcase/dundas_chartani.aspx">Creating animations with Dundas Chart for ASP.NET</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl02_Link" class="title" href="http://www.codeproject.com/KB/showcase/dundas_smartlabels.aspx">Smarter Data Labels with Dundas Chart SmartLabels</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl03_Link" class="title" href="http://www.codeproject.com/KB/showcase/Dundas_chartareas.aspx">Understanding Chart Areas with Dundas Chart for .NET</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl04_Link" class="title" href="http://www.codeproject.com/KB/database/SQLReportingSelectAll.aspx">Add "Select All" to parameter lists in SQL Reporting</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl05_Link" class="title" href="http://www.codeproject.com/KB/audio-video/SheepWMP.aspx">Using screensavers inside the Windows Media Player</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl06_Link" class="title" href="http://www.codeproject.com/KB/showcase/DundasMap_AJAX.aspx">Making Sense of Geographic Data with Dundas Map and AJAX</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl07_Link" class="title" href="http://www.codeproject.com/KB/windows/Anil_Kumar_Gupta.aspx">Handling connection notification between a desktop machine and Windows CE based devices</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl08_Link" class="title" href="http://www.codeproject.com/KB/vb/SmarLink.aspx">SmartLink</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl09_Link" class="title" href="http://www.codeproject.com/KB/showcase/HeraAppFramework.aspx">Create data-driven applications with the Hera Application Framework</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl10_Link" class="title" href="http://www.codeproject.com/KB/showcase/RedGate_SelfDocDatabase.aspx">Towards the self-documenting database: extended properties</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl11_Link" class="title" href="http://www.codeproject.com/KB/usability/access-audit-testing.aspx">Accessibility audit vs. accessibility testing</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl12_Link" class="title" href="http://www.codeproject.com/KB/showcase/digitalsignatures.aspx">Digital Signatures and PDF Documents</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl13_Link" class="title" href="http://www.codeproject.com/KB/sharepoint/People_Search_-MOSS_2007.aspx">People Search using search.asmx</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl14_Link" class="title" href="http://www.codeproject.com/KB/GDI-plus/GrayscaleFilter.aspx">Color Scale Filter</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl15_Link" class="title" href="http://www.codeproject.com/KB/vb/Windows_Media_Player_COM.aspx">WMP Power Hour APP</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl16_Link" class="title" href="http://www.codeproject.com/KB/aspnet/MergeLandscape.aspx">Merge Landscape and Portrait PDFs using ASP.NET</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl17_Link" class="title" href="http://www.codeproject.com/KB/winsdk/HowToRetrieve.aspx">How to Retrieve EMC Centera Cluster/Pool Capabilities</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl18_Link" class="title" href="http://www.codeproject.com/KB/winsdk/RightKeyboard.aspx">Using multiple keyboards with different layouts on the same machine</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl19_Link" class="title" href="http://www.codeproject.com/KB/showcase/barcodes_in_docs.aspx">Using Barcodes in Documents – Best Practices</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl20_Link" class="title" href="http://www.codeproject.com/KB/mobile/sms_gateway_survey.aspx">How to conduct an SMS survey using a cell phone connected SMS gateway and MS Access</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl21_Link" class="title" href="http://www.codeproject.com/KB/showcase/dotimage_toolkit.aspx">"Hey! Is That My Car? How to Sharpen a QuickBird Satellite Image Using DotImage"</a>
		
	</div>
	
	</div>
	</div>
	


					

				</div>

			</div>
			

		</div>
		

	</div>
</div>


<div style="display:none;" id="lqm_AdTable">
	
</div>

<script type="text/javascript" language="Javascript" src="./Windows XP SP2 Firewall Controller - CodeProject_files/jquery.min.js"></script><script type="text/javascript">//<![CDATA[
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='/script/JS/jquery-1.6.2.min.js' type='text/javascript' %3E%3C/script%3E"));
}//]]></script>
<script type="text/javascript" language="Javascript" src="./Windows XP SP2 Firewall Controller - CodeProject_files/article.min.js"></script>
<script type="text/javascript" language="Javascript" src="./Windows XP SP2 Firewall Controller - CodeProject_files/navbar.min.js"></script>
<script type="text/javascript" language="Javascript" src="./Windows XP SP2 Firewall Controller - CodeProject_files/m.min.js"></script>
<script type="text/javascript" language="Javascript">//<![CDATA[
function markAllText(){
 markTextInElement('FireWall','contentdiv');
}
$(function(){markAllText()});
var socialLinks = new social();
socialLinks.PlaceholderId="ATD";socialLinks.ObjectId=10911;
socialLinks.ObjectTypeId=2;
socialLinks.addtoMethod=1;
socialLinks.Horizontal=false;
socialLinks.Showname=true;
socialLinks.setupLinks("socialLinks", escape(document.location.href),escape(document.title), 100, 0, "small-text Bold", "AddTo");
socialLinks.setupMenu();
$(document).ready(function() {   $('.alert-bar').slideDown('fast');   $('.alert-bar a.close-notify').click(function() {      $('.alert-bar').slideUp('fast');        return false;    });});
if($.LqmAds)$.LqmAds();
var oSrchFlt = false, oSrchBox=false,srchBoxFoc=false;
$(document).ready(function() {
 if(InitWatermark)InitWatermark('sb_tb', 'Search site');
 var sbar = $('#sb_tb'); 
 var sfilter = $('#SearchFilter');
 if (sbar && sfilter) {
  sfilter.removeClass('popup'); sfilter.hide();
  sbar.blur(function() { if (!oSrchFlt)sfilter.hide();srchBoxFoc=false; });
  sbar.focus(function() { oSrchFlt=false;srchBoxFoc=true;sfilter.show(); });
  sbar.mouseleave(function() { oSrchBox=false; });
  sbar.mouseover(function() { oSrchBox=true; });
  sfilter.mouseleave(function() { oSrchFlt=false; if (!srchBoxFoc&&!oSrchBox)sfilter.hide();});
  sfilter.mouseover(function() { oSrchFlt=true; });
 }
});
$(document).ready(function() { anchorAnimate(); });
var reportingMemberId = 8126139;
$("#ctl00_RateArticle_RateItemWrapper").removeClass("container-rating");$('#clear-rate_ctl00_RateArticle_RCD').click(function () { $('#ctl00_RateArticle_RCD').hide(); return false;});
function PostBack_ctl00_RateArticle_RateItemWrapper() {
  return rateItem(10911,2,1,true,true,3);
}
function ChkRtctl00_RateArticle(val, objId) {if (val<=3||true) {
$('div[name=RateItem_' + objId + '] .rating-comment').css("display","");}
else $('div[name=RateItem_' + objId + '] .rating-comment').css("display","none");}


//]]>
</script>



<canvas id="cv1" width="1px" height="1px" style="position:absolute;left:0;top:0;pointer-events:none"></canvas><canvas id="cv2" width="1px" height="1px" style="position:absolute;left:0;top:0;pointer-events:none"></canvas></body></html>